Making Bloom Effects with Universal Render Pipeline (URP) in Unity [2D]

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
one of the most commonly used effects in unity is glow adding glow effects to your game levels can not only light up your scenes but it can also make your game look more detailed it is also well known that adding glow effects using universal render pipeline or urp can be a bit complicated and hard that's why in this tutorial we're gonna be guiding you on how to create 2d glow using unity urp and some 2d lights stay tuned for that [Music] what's up everyone my name is bernard and today we're going to be taking a look at how we can install urp or universal weather pipeline and use it to create a glow something like this before we can successfully create a glow effect we have to make sure that our project is set up to use the universal weather pipeline so we'll have to install it to install it go to your package manager by selecting window and then select package manager then you'll have to wait it to load and once everything is loaded start by searching universal you can just type universal that should give you the universal rp right over here in the left section of the window then select the drop down right over here and make sure you select the latest version of urp and then click install but since i already have it installed in my project i won't have to do it after installing urp we need to create a pipeline asset and assign the asset in the graphics settings let's go to our project window hit right click then look for create select rendering and then select universal render pipeline and select pipeline asset and after selecting that you'll have to name your asset and name it to something like 2d render pipeline then after that it should create another asset which is a renderer we don't actually need that so you can just delete it again in the project window hit right click and look for create rendering universal render pipeline and this time select 2d renderer then select the 2d render pipeline and go to your inspector under the general there should be a render list with a missing default renderer because remember a couple minutes ago a couple seconds ago we deleted the renderer that was provided by the render pipeline that we created so since it's deleted we'll have to replace that with the renderer that we created so yeah just simply drag the 2d renderer and yeah just put it in the render list like so and then next under the quality drop down over here make sure the hdr is enabled all right the next thing we're going to do is to apply our render pipeline asset to our graphics settings so open your project settings by going to edit and then select project settings and then navigate to your graphics sections to open the graphics settings and then under descriptible render pipeline settings simply drag the 2d render pipeline that we created right over here next up that we need to set up is the camera because in order for us to see the effects we'll have to enable the post processing in our camera to do this go to your hierarchy select your main camera and enable the post processing right under the camera component and rendering section after all of that you should see that our scene or the game object started disappearing or in most cases it could go with the pink texture i don't know sometimes it could go something like that but in most of the time i experienced that my texture just disappearing i think that's because of the materials not being compatible with urp so to fix that just go to your hierarchy and select all of your sprites and right overhand inspector change the material from sprite's default to spritely default if you don't see the sprite lit default just make sure you toggle off this button with an eye icon and there you have it you have everything back to normal or it could go black to be honest the reason why this is happening is because our scene doesn't have any light source so if we create a light by going in our hierarchy and selecting light and 2d and then selecting global light 2d we should be able to light up our scene let's set the intensity of our global light to something like 0.65 next let's give our player character a light source select the player hit right click and look for point light 2d under the 2d lights and then let's reduce its intensity to something like 0.5 but feel free to set yours to something that fits your scene alright now let's move on to creating a bloom effect to do that we'll have to create the volume by going to our hierarchy hit right click and select volume and global volume this volume is where you'll be adding all of the post-processing effects such as bloom color correction vignette and so on if you want to learn more about all of the post-processing effects feel free to visit unity's official documentation all the links are down below in the description alright let's select the global volume and then right over here in the inspector under the volume component or script click the new button right beside the volume profile once a new profile is created click the add overwrite button and select post processing and bloom under the bloom effect enable the thrust hold and intensity and set the value to 1 and 0.5 and there you have it we have finally created a bloom effect for our scene in the next video we're going to continue this project by creating or adding an emission light to our player character if you're interested you can always read our full guide on how to create a 2d glow using urp which also contains a guide on how to create emission lights using shader graph so yeah that's it for now guys if you enjoyed this video don't forget to hit like and subscribe for more videos like this again thank you for watching and i'll see you all in the next video [Music]
Info
Channel: WeeklyHow
Views: 30,593
Rating: undefined out of 5
Keywords: unity, unity 2020, learn unity, unity training, unity3d for beginners, unity tutorial for beginners, unity tutorial for beginners step by step, what is URP, universal render pipeline, urp tutorial, tutorial urp, urp tips, unity glow effect, unity bloom effect, unity global volume, unity post processing, post processing basics, unity 101, how to make games, how to design unity games, making your games look cool, tips for making games look cool
Id: MxjsGCUDiwo
Channel Id: undefined
Length: 5min 59sec (359 seconds)
Published: Wed Aug 26 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.