The sky is falling! — A quick guide to skyboxes

Luke Duckett
2 min readJun 8, 2021

--

In this quick article I will go over how to add a sky box in unity.

A skybox is basically a texture that wraps around your scene to give the illusion of a horizon beyond your game world.

Adding a skybox is quite simple. First find a texture online or create one yourself. I will be using a city scape which has been broken down into 6 pieces.

Create a new material. I will call mine City_SkyBox_mat.

Next change the shader to Skybox 6 sided (this is what I am using as I have a 6 sided texture). Now add the textures to the material.

Change the shader type based on the texture you have. If you have a 4 sided texture use the cube map for example.

Next, open your lighting settings by going to Window > Rendering > Lighting.

In the lighting settings switch to the Environment tab. Change the Environmental lighting source to skybox and add in your material into to the Skybox material field.

There we have it a nice city scape skybox.

That’s all for now.

--

--

Luke Duckett
Luke Duckett

Written by Luke Duckett

🎮 First Nations Unity Dev from Wonnarua country 🏞️ | From Player to Lifelong Learner: Crafting Games, Debugging Code, and Embracing New Technology

No responses yet