Skybox’s in Unity

Daniel Kirwan
2 min readMay 20, 2021

--

Objective: Create a six-sided skybox in Unity

Skybox’s are a great way to give the player a nice background to look at without having to place 3D objects in the game world taking up valuable memory.

To create a six-sided skybox, first you need to create a material. Right-click in the project window and create -> material. Then select the material and in the inspector change the shader type from standard to skybox -> six-sided.

Once you have done that you will need to attach six textures to the material and make sure that they are in the correct position when you do.

You now need to attach the material to the skybox for the scene. Open the lighting settings window and click the environment tab. Now drag the new material you made into the Skybox material slot.

If you’re using lighting you will now need to bake it so that the new skybox material is taken into account with your light sources.

And that’s it for creating a six-sided skybox in Unity. Come back for more Unity development articles.

--

--

Daniel Kirwan
Daniel Kirwan

No responses yet