Cinematic Stealth Project — Skybox #3
A skybox is the unreachable background you see in any game. In Unity, you have this procedural blue blackground in every project, which you can modify or change to one with images! In my project, I will use a skybox of a city! So, in this article, I will show you how you can change the skybox of your scene and how exactly a skybox made out of images work!
Changing the Skybox
To change your skybox, you will need to access the Lighting Settings tab, which you can find by going to
Window > Rendering > Lighting Settings > Scene. You’ll see in the Enviroment category that the Skybox is the first displayed option.
You can change it to any material, however, it will only support those materials that are made for skyboxes (materials with a Skybox shader).
If you don’t have any special skybox, you can always create your own skybox using the Procedural shader.
How a skybox is made
I originally didn’t plan to write about this, but because the provided skybox had an issue I wanted to fix, I had to create a new skybox material and put the fixed version of the skybox images. This, of course, is an opportunity to briefly explain how this works.
As the name suggests, the sky is made out of a box, which takes 6 squared images (the top, the bottom, the front, the back, the left, and the right side).
With the fixed images of the city, I created a new Skybox material, and added the photos to the corresponding sides.
And with that, my project has a great background without visible watermarks!