Version: 4.26, 中文
Created: 2021-01-19, Updated: 2021-03-25
Author: Cyanhall
👉  Cyanhall@GitHub Star me if it’s helpful.
1. Niagara Introduction Unreal's Next Generation VFX Tool. Fully programmable VFX sim with node based modular behaviors, sequencer timeline, HLSL expression support, and inheritance.

Note: The main content of this tutorial comes from the Content Examples that come with Unreal Engine

Tip: Use ⬆️ ⬇️ to turn the page up and down. We recommend browsing with a large screen for a better reading experience.
Niagara Introduction
3. How does Niagara work? Niagara runs a series of scripts. We refer to them as Stacks. First, is this blue System Script.

It controls the overall lifecycle of a Particle System. System Spawn controls what happens on the very first frame the system spawns, System Update is the logic which runs every frame thereafter.

Attributes created here are accessible to every other emitter and particle in the system, as data flows from system->emitters->particles.
How does Niagara work?
4. How does Niagara work? Next, this Orange section executes for every emitter in the system. Each emitter has a similar spawn and update script. This is where we control the life cycle of each individual emitter in the system. Am I looping? Do I only play once? Am I allowed to spawn particles? If so, how many? These are the types of questions the Emitter Scripts are trying to answer.
How does Niagara work? How does Niagara work?
5. How does Niagara work? Then, these green Particle scripts run independently for every single individual particle in the emitter. Particle Spawn for the first frame of a particle's life, Particle update for every frame thereafter.There are many built in behaviors (called Modules) in both particle spawn and particle update, accessible via the colored "+" box next to each script header, or by right clicking a module and choosing "insert above" or "insert below".
How does Niagara work? How does Niagara work?
6. How does Niagara work? Lastly, we choose a renderer, in this case a sprite renderer. We can assign a material and choose from options like velocity alignment or camera facing.
How does Niagara work? How does Niagara work?
7. Let's start the reconstruction Right click and select FX => Niagara System to create.
Let's start the reconstruction
8. Create Niagara System Select Empty template, click + and Finish
Create Niagara System
9. Create Niagara System As a result, we get a Niagara System asset, click to open it.
Create Niagara System
10. Empty Niagara System You can see that we have an empty Niagara system.
Empty Niagara System
11. Spawn Rate Click on the + sign to the right of the Emitter Update to add the Spawn Rate module.

Spawn Rate: Number of particles per second to spawn.
Spawn Rate
12. Spawn Rate Set the Spawn Rate value to 5.0.

Spawn 5.0 particle per second.
Spawn Rate
13. Particles Spawn Set Particles Spawn Lifetime value to 4.
Particles Spawn
14. Particles Spawn Set Particles Spawn ColorMode to Direct Set.
Particles Spawn
15. Add Velocity Add Add Velocity module to the Particle Spawn section.
Add Velocity
16. Add Velocity Click the first Fix issue button to add its dependency on the SolveForcesAndVelocity module.
Add Velocity
17. Add Velocity Set the Z of the velocity to 40.
Add Velocity
18. Scale Sprite Size Add the Scale Sprite Size module to the Particles Update section.
Scale Sprite Size
19. Scale Sprite Size Edit the Scale Factor's value to Vector 2DFrom Float.
Scale Sprite Size
20. Scale Sprite Size Set its value type to Float from Curve.
Scale Sprite Size
21. Scale Sprite Size Edit this curve to control its value over time
Scale Sprite Size
22. Scale Sprite Size Select the first point and drag it to the bottom.

Note: Here you can also select this point and directly set its Time to: 0 and Value to 0.
Scale Sprite Size
23. Scale Sprite Size At the bottom center of the chart, right click and select Add key to Curve.
Scale Sprite Size
24. Scale Sprite Size Set the Time of the newly added point to 0.5 and the Value to 0.5.
Scale Sprite Size
25. Scale Sprite Size In the same way, add two points: (time 0.25, value 1), (time 0.75, value 1).

Then select each point, right-click, and select Auto.
Scale Sprite Size
26. Scale Color Add Scale Color module to the Particle Update section.
Scale Color
27. Scale Color Set the value type of Scale Alpha to Float from Curve
Scale Color
28. Scale Color Get a chart that has been set up before.
Scale Color
29. Scale Color Set the first point (time 0.25, value 1) and add a point (time 0.5, value 1).

Then select each point, right-click, and select Auto.
Scale Color
30. 🎉 Finish! 🎉 👉  Cyanhall@GitHub  Star me if it’s helpful.

Support Me: Patreon
Follow Me: Twitter, Reddit, Zhihu, Bilibili
🎉 Finish! 🎉
Comments
Niagara Introduction