Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
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
Mastering Unreal Engine 4.X

You're reading from   Mastering Unreal Engine 4.X Master the art of building AAA games with Unreal Engine

Arrow left icon
Product type Paperback
Published in Jun 2016
Publisher Packt
ISBN-13 9781785883569
Length 384 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Muhammad A.Moniem Muhammad A.Moniem
Author Profile Icon Muhammad A.Moniem
Muhammad A.Moniem
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. Preparing for a Big Project FREE CHAPTER 2. Setting Up Your Warrior 3. Designing Your Playground 4. The Road to Thinkable AI 5. Adding Collectables 6. The Magic of Particles 7. Enhancing the Visual Quality 8. Cinematics and In-Game Cutscenes 9. Implementing the Game UI 10. Save the Game Progress 11. Controlling Gameplay via Data Tables 12. Ear Candy 13. Profiling the Game Performance 14. Packaging the Game Index

The animated fog


Almost like any other thing within Unreal Engine, you can do some animations for it. Some parts of the engine are super-responsive to the animation system, while other parts have a limited access. But speaking of the fog, it has a limited access in order to animate some values. You can use different ways and methods to animate values at runtime or even during the Edit mode.

Color

Height fog color can be changed at runtime using Linear Color Property Track in Matinee. We are going to dive deep inside Matinee in the next chapter, but here is the recipe in advance!

By following the given steps, you could change height fog color in-game:

  1. Create a new Matinee actor.

  2. Open the newly created actor within Matinee Editor.

  3. Create a height fog actor.

  4. Create a group in Matinee.

  5. Attach the Height Fog actor from the scene into the group created in the previous step.

  6. Create a linear color property track within the group.

  7. Choose the Fog Inscattering Color or Directional Inscattering Color option to...

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 $19.99/month. Cancel anytime