O'Reilly logo

Building an FPS Game with Unity by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building the atmosphere – Skyboxes and Fog

Now the base of our world is created. Let's add some effects to make the game more visually appealing.

The first part of creating the atmosphere is to add something to the sky. Now, in Unity 5, we are given a Skybox by default, but we will be using one of our own that's provided by UFPS. Skybox is a method of creating backgrounds to make the area seem bigger than it really is by putting an image in the areas that are currently being filled with the light blue color, staying still while we move just like the sky doesn't move when we go around because it's so far away.

The reason we say Skybox is because we save six textures (one for each side of a cube). Game engines such as unreal have skydomes that do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required