Besides the traditional six-sided and Cubemap Skyboxes, Unity also features a third type of skybox: the Procedural Skybox. Easy to create and set up, the Procedural Skybox can be used in conjunction with a Directional Light to provide Environment Lighting in your scene. In this recipe, we will learn about the different parameters of the Procedural Skybox:
Setting up an environment with Procedural Skybox and Directional Light
How to do it...
To set up Environment Lighting using the Procedural Skybox and Directional Light, follow these steps:
- Create a new Scene inside a Unity project. Observe that a new scene already includes two objects: the Main Camera and a Directional Light.
- In the scene, create a 3D Plane named Plane...