Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building an FPS Game with Unity

You're reading from  Building an FPS Game with Unity

Product type Book
Published in Oct 2015
Publisher
ISBN-13 9781782174806
Pages 326 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Building an FPS Game with Unity
Credits
Foreword
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started on an FPS 2. Building Custom Weapons 3. Prototyping Levels with Prototype 4. Creating Exterior Environments 5. Building Encounters 6. Breathing Life into Levels 7. Adding Polish with ProBuilder 8. Creating a Custom GUI 9. Finalizing Our Project Index

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 the same thing just with a hemisphere instead of a cube:

  1. To modify the skybox, we can go to Window | Lighting. Once in there, click on the Scene button to look at the lighting properties of the current scene.

  2. In the Project tab, click on the search bar...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}