Fun with Skybox’s in Unity!

addam davis
3 min readAug 26, 2021

Objective: Learn how to create a skybox!

Skybox, by default the skybox in unity looks like a barren horizon. In this tutorial I’m going to show you how to set up a skybox giving your game a nice background.

In this method we are going to use a cube map. Right click where you keep your materials > new materials.

At the top of the inspector, you will need to change the shader to from standard to skybox > 6 sided.

Using the cube map that you have acquired you will want to attach each texture to the 6 sides in the inspector.

Navigate to the lighting setting by going to the windows tab > Rendering > Lighting. In the lighting setting at the top, you select Environment, and place the skybox material we just created in the skybox material at the top of lighting.

This will import your new skybox causing your entire environment to re-bake, taking in dynamic light or statically baked light from the skybox. This happens because we are pulling in environment lighting from the source, which is the skybox.

This is all you need to set you own skybox. Working with an artist to create the cube map or creating one yourself or buying the asset. Either way you choose to go implementing the new skybox is simple and gives your game a stunning new look. Never be afraid to experiment with your projects and I’ll see you in the new tutorial!

--

--