Getting Started with Post Processing in Unity
For today’s article, I’ll be going over how I added post processing effects to my game.
After all the steps are followed below, my game should look like the video below:
What is Post Processing?
Based on Wikpedia’s entry, Post Processing is a way to enhance or improve the visual quality of video/film. In this particular case, it is being used to improve the overall look and feel of the game by applying a few filters.
Installing Post Processing Package
Navigate to Window -> Package Manager:
Search for the Post Processing Package under the Unity Registry and hit the install button:
Once that is done, you want to select the Main Camera Game Object in the scene and attach the Post-process Layer component
Afterwards, create a new game object that will hold the Post-process volume component and add a new Profile. Last but not least, make sure the Is Global
field is checked.
Going back to the Main Camera game object, create a new layer by selecting the Layer drop down and name it Post Processing
Set the Layer to Post Processing to remove the warning shown below:
Once all of that is setup, we can move onto adding effects to our Post-process Volume component which will affect the way our game looks.
Adding Bloom
Bloom will make the stars in the background a-lot brighter!
To add this, click on “Add effect…” in the Post-Process Volume component and select Bloom. Make sure to enable all setting by selecting the “All” text. I’ve set the Intensity value to 25 for my own preference.
The lower the intensity value, the less bright the stars in the background appear. The higher the intensity value, the more bright/blurry the stars appear in the background.
Color Grading
Next, I added the Color Grading effect where I used the Hue Shift Property and set it to -25
Thanks for reading :)