How to Add a Custom Skybox in Unity
Objective: To create a custom Skybox for our Sci-fi Interior level design.
As we are building a scene that is based primarily on an interior render we want to change the illumination from a daylight type of illumination. In order to change this we need to change our Skybox.
Firstly let’s create a new Material called ‘Skybox’. Right click in the ‘Project’ window → ‘Material’. Next, we want to adjust some of the lighting settings so let’s head there: ‘Window’ → ‘Rendering’ → ‘Light Settings’. We now have an error on this tab which let’s us know ‘The mixed mode is not supported by the current render pipeline. Fallback mode is subtractive’.
To fix this, click on the drop down box and change to ‘Subtractive’.
Now, we need to update the ‘Skybox Material’ field from the ‘Default Skybox’ to the new material ‘Skybox’ that we created earlier. But before we do this, we need to make a couple changes to this material (once you have finished the steps below, make sure to come back here and update the default skybox).
Make sure to have the Skybox material highlighted in the ‘Project’ window and then on the right hand side in the Inspector let’s update the ‘Shader’ from ‘Universal Render Pipeline/Lit’ to ‘Skybox/Procedural’, following the steps below:
We take the necessary steps above so that we have the ability to change our settings for the Skybox. E.g. Changing the exposure in the interior.
As you can see the only light sources that are now coming from the interior of the room are the emission light sources.
We can now switch off our ‘Directional Light’ game object in the Hierarchy.
From here, next steps will be to introduce some cool lighting into the environment!