The Epitome Heist: Creating a SkyBox In Unity
Objective: Create a Skybox in Unity using CubeMaps
In the main game we have a city skyline of New York City. Today I will demonstrate how we can create a skybox in Unity from scratch using a cubemap provided by an artist. This is what our scene looks like before we add the skybox material.
First we will create a material and name it accordingly. In this example I named it New_Skybox_Mat.
After the material is created we need to modify it to be able to use it as a skybox material for our background. To do that we can select the material and then go to the Shader dropdown and change it to SkyBox > 6 sided.
Next we can add the CubeMap to our new 6 sided material to create a Skybox material. In this example these will be placed in order from 0 to 5.
Finally we will add this to our skybox material setting under the Lighting > Environment.
After we add it we can see the final result below! That’s how easy it is to make a skybox in Unity. Even better when using a skybox like this it even works with reflections & lighting as you can see in the image below.