Mastering Unity Shaders and Effects by Jamie Dean

Mastering Unity Shaders and Effects by Jamie Dean

Author:Jamie Dean [Dean, Jamie]
Language: eng
Format: azw3, pdf
Publisher: Packt Publishing
Published: 2016-09-28T04:00:00+00:00


The dust clouds should now be visible with their opacity reading correctly, as shown in the preceding image.

In the next step, we will add some further environmental effects to the scene.

Adding fog to the scene

In this step, we will add fog to the scene. Fog can be set to fade out distant background elements to reduce the amount of scenery that needs to be rendered. It can be colored, allowing us to blend elements together and give our scene some depth:

If the Lighting tab is not already visible in the Unity project, activate it from the menu bar by going to Windows | Lighting.

Dock the Lighting panel if necessary.

Scroll down to the bottom to locate the Fog properties group.

Check the checkbox next to Fog to enable it.You will see that fog is added to the environment in the Scene view as shown in the following image. The default values do not quite match what we need on the planet's surface environment:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.