Day 26 | How to use Post Processing in Unity

Installing Post Processing

To install Post Processing, go to Window > Package Manager, and in the Package Manager window, ensure you are searching for packages in the Unity Registry. In the list, find the Post Processing package and click Install. The button changes to Remove if it’s already installed.

Setting Up Post Processing in Your Project

With Post Processing installed, we need to create a Post Processing volume, an object that will apply our Post Processing settings to the game scene. First, create an empty gameObject called PostProcessingVolume. Add a Post Processing Volume component to it. Finally, put the gameObject into a separate layer called Post Processing Layer.

Applying Post Processing to the Camera

With the effects setup, we now want the camera to see all the new Post Processing effects. To do this, assign a Post Processing Layer component to the camera. By assigning the Main Camera as a trigger and the Post Processing Layer as the layer to blend, the camera now sees all the effects in the Post Processing Layer applied by our PostProcessingVolume gameObject.

--

--

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