Nerd For Tech
Published in

Nerd For Tech

How to use Post Processing in Unity

Post processing allows us to apply image effects and filters to our games. It is like a photoshop for our game. To get started with it, we have to install it through the Unity package manager:

Once we click install, we can close the window and wait for a few moments as Unity installs and recompiles the project. Once it is down, in our projects tab there will be a post processing folder:

Next, we will want to create an empty object and name it Post Process Volume, and within the inspector we will add the Post Process Volume component to our object:

What this allows us to do is create a profile and add image effects. We will want to click the Is Global box. What this does is have everything in our environment and camera gets affected. If this were a game that had multiple environments within it, we can have both global and a local post process volume. From here, we will want to create a new file and in order for us to see the changes that we make, we will want to link it to our main camera through layers. First, we will want to go to our main camera and apply the Post Process Layer component:

Now, we can go to our post process volume and make a new layer for it:

Finally, we can take a look at some of the effect options there are to work with:

When we open up our colour grading option, we notice a warning. This warning is letting us know that while the games colourspace is set to gamma, the HDR grading will not look correct. To change this, we simply go into the build settings, player settings and find the colour spacing within the player:

Now that we have it properly set up, we can look into playing with some settings till we like the looks of it.
Let’s say we want to change the temperature, the lower we go the “colder” it feels:

The higher it goes, the “warmer” it feels:

As for how we will have our game set, I will go with a slight red tone along with using the ACES tone mapping mode. As for ACES, it is the Academy Color Encoding System, and is the industry standard for managing color throughout the life cycle of a motion picture or television production.

Now that we have set up our post processing, we can look into how we add music and sound effects into our game.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store