My 90 day journey becoming a Unity game developer: Day-33

Rhett Haynes
3 min readJul 15, 2021

--

Objective: Installing the Post Processing Package and playing around with a couple of effects.

Changing the setting of the Temperature and Tint in the settings.

Post Processing allows imaging effects and filters to our game. To install it, we will do it under the Unity Packet Manager. Go to Window->Package Manager. The installation will take several minutes to install, but after the installation is complete you can go down to Packages in Assets to locate the folder.

Post Processing Package installed.
Post Processing folder located in Packages.

In the Hierarchy, we need to create a Post Processing profile in an empty game object. Name it Post_Processing_Volume and add a component of type using the same name. This new component will allow us to create a profile and handle image effects.

A new Post Processing Volume game object and component added.
Is Global is turned on and a new profile is created.

Make sure to turn on the Is Global, as this will handle the entire environment and camera with everything viewed being effected. At Profile, click on New to create a profile for this volume.

If you check in the Scenes folder, there will be a new Game_Profiles folder added with the Post Processing Volume profile included.

Back at the Post-process volume, click on Add effect and select Bloom. Bloom will take the emissions data from the material and enhance them.

Added Bloom to the Post-process volume.

Click the drop-down arrow to see the Bloom settings. Click All and select On, and try manipulating the settings. You will notice nothing happens, because we need the attach a Post Processing Layer to the camera.

Turning on all the settings for Bloom.

Click on the Camera in the Hierarchy, click on Add Component and select Post-process Layer. Head up to Layer, then add a new layer name Post Processing. Go back inside the Camera, click on Layer and add the Post Processing.

Created a Post Processing Layer on the Camera.

Go to Post Processing Volume, and select Post Processing in the Layer drop-down. Down at Bloom, increase the intensity and see what happens. As we see, nothing happens because we need to make sure that Off is selected. Now try again and we should see new effects taking place.

Post Processing Layer set on Post Processing Volume and turned off to see visual effects.

Another effect we will use is Color Grading. After adding the effect, turn All on and set the mode to High Definition Range.

Color Grading added with all settings turned on and high-definition set.

To use HDR colors, we must switch to Linear. Go to File->Build Settings->Player Settings. In Player, change the Color Space to Linear under Rendering and close out.

To use HDR, we changed from Gamma to Linear in Build Settings.
Changing the Temperature and Tint of the game.

Next we will add background music.

--

--

Rhett Haynes
Rhett Haynes

Written by Rhett Haynes

Learning to become a Unity game developer.

No responses yet