Unity3D: Creating a Skybox Material!

Gabriel Perez
2 min readMay 18, 2021

Do you have a cubemap of a city or a landscape skyline and would like to turn it into a skybox? I’ll show you how!

To create the skybox, we first need a cubemap of the skybox we want to create. A cubemap consist of a collection of six textures that represents the reflection of the environment.

Next, we need to create a new material.

Project window > Create > Material.

Name it with an “_Skybox” in the end. In this case, I named mine NY_Skybox.

We need to change the material’s shader from standard to a 6 sided skybox:

By doing so, we can now drag the texture images of our skybox into their respective position:

Next, we need to configure the lighting settings. Go to:

Window > Lighting > Settings.

The lighting settings panel will pop up.

See where it says “Skybox Material” under Environment? You guessed it! It is where we drag and drop our skybox material.

And we’re done!

Before without a skybox.
After with a skybox.

We now have a beautiful skybox, and it sets the mood of the environment to its skybox’s color scheme.

That is all for today! Thank you for your time!

Gabriel

--

--

Gabriel Perez

Hello everyone, My name is Gabriel Perez, I am a Unity Developer and a creator who is always learning and experimenting.