FULL SCREEN FX in Unity (and how to trigger with code) | Unity Tutorial

preview_player
Показать описание


In this 2D Unity tutorial, we'll use Shader Graph to create some really nice full screen effects for your game. There are some new options built into Unity that now make this easier than ever, and since I don't want to leave you hanging, I'll show you how to trigger the effect with code at the end as well.

We'll work with a nice "player damaged" effect at first, but we'll create some ful variations as well to show you how easy it is to create shader effects using Shader Graph.

Unity docs on full screen renderer feature:

Link to Download our FREE 2D Asset Pack:
---
---

Contents of This Video: ------------------------------------------

00:00 - Introduction
00:16 - Getting the basics of our full screen shader setup
03:09 - Finishing our Damage Shader
05:33 - Creating a Frost Shader
06:14 - Creating a Weird Magic Shader Thing
07:37 - Controlling the full screen effect with code

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.

Wishlist our Games:
Wishlist Samurado!

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Follow us on Twitter for regular updates!

#unitytutorial #unity2d #unity3d
Рекомендации по теме
Комментарии
Автор

since I updated to Unity 2022.2, I now have support for full screen shaders using a 2D renderer as well!

sasquatchbgames
Автор

Thank you for the great video. At first, no matter how much I followed along, the shader kept covering the entire screen, preventing the game view from displaying, which was quite frustrating. The cause was the "BlendMode" Option.

Go to the FullScreenShader what you made, then in the Graph Inspector under Graph Settings, you'll see the "BlendMode" under the Universal dropdown. It's probably set to Disabled by default. Simply check this option to Alpha, and it will work correctly.

sehyup-ts
Автор

Man you're channel is really motivating. I almost quit working on game. Now I am close to releasing it on steam.

BlackPanzerYZ-pqnd
Автор

Thank you so much! I was having a hard time understanding the documentation Unity has on this, and I did not see any written resources that would explain how to connect the full screen shaders to code.

XeZrunner
Автор

Nice guide!
Good to see some guides on this, since it isn't very well documented

DevDunkStudio
Автор

You're way of speaking is very clear, which I think lends itself well to making tutorials. The shader effects are also very cool!

SharpDressedBear
Автор

Great video! 1 question, how to make full screen floating flame effect or floating leaves? Thanks!

WeirdGoat
Автор

works with a 2D renderer the same way now.

sorenbrendle
Автор

I have seen the New image effect in urp.

But last time the i few isuouse for my my case like.

To add multiple image effects staking,
To add imamage effect on spefic camera

To add the image effect to apply wean you enter spefic trigger box ECT.

Taknly the even the unity post processing Don't let aplay the effects on spefic camera but ther is work around,
All you have to do is to make post processing area very small area inside your player (very close to your camera) and wean you want this effect to apply move throw your camera.

But for what I have seen the New unity imagine effect dasn't work like unity urp post processing for some reason.😢

And my project have the option to play split screen
What option end up having need to work perfectly for multiple cameras.

watercat
Автор

Nice effect. Is it only in Unity 2022 and newer?

FyresGames
Автор

How would you set that up using 2D-renderer? I tried the other video but it didn't help :(

CryptoWhisperer-jwhd
Автор

It's working in editor but don't work for build

sanatdeveloper
Автор

I like your content but (no offence) you need to change your hairstyle. You always look as if you got caught by a rain

michalrv