Making Hearts Fly With Unity VFX Graph
Learn how to use Unity’s VFX Graph to make stunning visual effects, like a flock of flying butterflies! The VFX Graph uses simple, node-based visual logic. By JJ Richards.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
Making Hearts Fly With Unity VFX Graph
30 mins
- Getting Started
- Starting With the HDRP Template
- Setting up Project Folders
- Importing Sprites
- Observing a Box of Butterflies
- Finding the Butterflies
- Examining Butterfly Art
- Opening the ButterFlies VFX Graph
- Understanding a Flapping Animation
- Understanding the VFX Graph Using the Butterfly Example
- Creating Particles With the Spawn Block
- Setting an Initial Motion With the Initialize Particle Block
- Changing the Particles With the Update Particle Block
- Moving the Wings With the Output Particle Block
- Flapping Visual Logic With Wing Animation Speed
- Creating the Scene
- Adjusting the Camera Settings
- Sky and Fog Volume Settings
- Scene Light Settings
- VFX GameObject
- Replacing the Wing Art
- Setting the Output Block
- Update Block
- Setting the Initialize Block
- Setting the Output Block Inspector
- Setting the Visual Effect Properties
- Controlling the Launch
- Creating a Control Script
- Adding Controls to the VFX Graph
- Customizing Spawn Shapes
- Where to Go From Here?
Where to Go From Here?
Great job completing this tutorial! You can download the completed project files by clicking the Download Materials button at the top or bottom of the tutorial.
Feel free to tweak the project to your needs and see what flies. :]
For example, try creating your own wing art. You can find many art tutorials online, including this one on Making Butterflies with Inkscape.
Or you can create your own Point Caches with your own sprites or even meshes, like a tree or a butterfly bush.
Explore advanced HDRP materials with Unity’s tutorial on HDRP Butterfly Shaders.
The Unity Visual Effect Graph will continue to evolve, so follow the latest updates in the Unity Visual Effect Graph official documentation.
Now that you’ve nailed Visual Effect Graph, why not take it a step further and learn about Unity’s Shader Graph?
I hope you enjoyed this tutorial. If you have any questions or comments, please join the forum discussion below!