Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Learn Blender Simulations the Right Way

You're reading from   Learn Blender Simulations the Right Way Create attractive and realistic animations with Mantaflow, rigid and soft bodies, and Dynamic Paint

Arrow left icon
Product type Paperback
Published in Nov 2022
Publisher Packt
ISBN-13 9781803234151
Length 368 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Stephen Pearson Stephen Pearson
Author Profile Icon Stephen Pearson
Stephen Pearson
Arrow right icon
View More author details
Toc

Table of Contents (21) Chapters Close

Preface 1. Part 1: Using Mantaflow for Fire, Smoke, and Fluids
2. Chapter 1: An Introduction to Mantaflow FREE CHAPTER 3. Chapter 2: Understanding Domains, Flows, and Effectors 4. Chapter 3: Creating a Realistic Campfire Simulation 5. Chapter 4: Creating a Waterfall Using Mantaflow 6. Chapter 5: Creating a Realistic Explosion 7. Part 2: Simulating Physics with Soft Bodies and Cloth
8. Chapter 6: Getting Started with Soft Bodies 9. Chapter 7: Creating a Soft Body Obstacle Course 10. Chapter 8: Introduction to Cloth Simulations 11. Chapter 9: Creating a Realistic Flag 12. Part 3: Diving into Rigid Bodies
13. Chapter 10: An Introduction to Rigid Bodies 14. Chapter 11: Creating a Rigid Body Physics Course 15. Part 4: Understanding Dynamic Paint in Blender
16. Chapter 12: Introduction to Dynamic Paint 17. Chapter 13: Creating a Paintbrush Effect 18. Chapter 14: Creating a Raindrop Effect 19. Index 20. Other Books You May Enjoy

Creating the particle material

The next thing on the list is creating the particle material. In real life right when sparks are emitted from a fire, they are in a very bright white color. As they rise and cool off, they turn to more of an orange red-ish color. We can create this same look by adding a couple of different nodes in the material as follows:

  1. Select Icosphere and open Shader Editor once again. Then, create a new material by clicking the New button.
  2. Delete Principled BSDF and replace it with Emission Shader, then set Strength to a value of 20.
  3. Plug Emission Shader into Surface in Material Output.
  4. Next, we are going to add a new node called Particle Info. To add this new node, press Shift + A, go to Input, and select Particle Info.

Particle Info node

This node allows us to take certain data from the particle system and have it influence the material. For example, you could take the Random output and plug that into ColorRamp. Now each particle...

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
Banner background image