Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building a Game with Unity and Blender

You're reading from   Building a Game with Unity and Blender Learn how to build a complete 3D game using the industry-leading Unity game development engine and Blender, the graphics software that gives life to your ideas

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781785282140
Length 250 pages
Edition 1st Edition
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Creating Your Game Concept 2. Creating Characters FREE CHAPTER 3. Animating Your Characters 4. Creating the Environment 5. Integrating Your Assets into the Game 6. Developing the Game Structure 7. Creating Levels and Game Progression 8. Post-Production and Visual FX 9. Deploying the Game Index

Mist particles


Next, we will learn how to add some spooky and mysterious atmospherics to our game scene by creating a mist particle system. Start by creating an empty game object, then apply a particle system component to it. Because our scene is so huge, we'll need to make the particle system cover the entire scene. To achieve that, change the shape of the emitter to Box, and change its scale until it covers the entire scene. After that, check the Random Direction option so that particles will be spawned facing a random direction. That will make the mist look more natural.

Then, we will adjust the settings in the Main module:

  • Duration: 100

  • Looping: Enable

  • Prewarm: Enable

  • Start Lifetime: 100

  • Start Speed: 0.1

  • Start Size: 1

  • Start Color: A gradient of total transparency to opaque white

  • Max Particle: 10000

The start color looks something like this in the gradient editor:

We want the particles to be totally transparent when it gets spawned, and gradually change to opaque. After that, set the...

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 €18.99/month. Cancel anytime