Unity Logo Million Particles! (VFX Graph Deep Dive)
β
Let's learn how the Unity Logo effect is made in Visual Effect Graph! Millions of particles!
π Check out the Spring Sale with 500 most popular assets at 50% off! https://assetstore.unity.com/?on_sale=true&aid=1101l96nj&pubref=vfxunitylogo
π
β¨ Use the Coupon SSAFF2020 for an extra 10% off!
β€οΈ Using this Affiliate Link helps support the channelο»Ώ
Visual Effects Graph Samples
https://github.com/Unity-Technologies/VisualEffectGraph-Samples
Make Awesome Effects with Visual Effect Graph in Unity!
https://www.youtube.com/watch?v=LhvnIOlmXMM
In this video we're going to inspect the Unity Logo effect from the Official Unity Visual Effect Graph Samples to figure out how it works.
The effect is split into two parts, there's a sphere moving around spawning particles and there's the shape of the Unity logo.
The Unity logo effect is made from a Vector Field which is a 3D Cube made of Voxels where each voxel has a vector pointing in a certain direction. All the vectors in that vector field are pointing to create the Unity logo. Those vectors are what the Particles use to move.
Then there's a second random vector field used to give the particles a bit of random movement.
The second part of the effect is the Sphere, it's moving around in the scene and acting as the spawn position for the particles.
Moving the sphere is done entirely through math, it uses sine and cosine waves coupled with an ever increasing total time in order to generate some satisfying movement.
The colors of the effect are using a simple gradient over time and also using the sphere position as a way to add an extra effect. Each particle does a distance check and if its inside the sphere then the color shown is the one that particle was spawned with.
Put it all together and you have a very clever, very good looking effect with millions of particles.
If you have any questions post them in the comments and I'll do my best to answer them.
π Subscribe for more Unity Tutorials https://www.youtube.com/channel/UCFK6NCbuCIVzA6Yj1G_ZqCg?sub_confirmation=1
00:00 Summary
00:15 Intro
00:33 Final Effect
01:45 Unity Logo Cube
07:40 Moving Sphere
15:45 Color Blend
18:07 Final Effect
18:50 Outro
See you next time!
π Support on Patreon https://www.patreon.com/unitycodemonkey
π€ Join the Community Discord https://discord.gg/eHjUVrm
π¦ Grab the Game Bundle at https://unitycodemonkey.com/gameBundle.php
π Get the Code Monkey Utilities at https://unitycodemonkey.com/utils.php
#unitytutorial #unity3d #unity2d
--------------------------------------------------------------------
Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.
I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.
You can see my games at www.endlessloopstudios.com
--------------------------------------------------------------------
- Website: https://unitycodemonkey.com/
- Twitter: https://twitter.com/UnityCodeMonkey
- Facebook: https://www.facebook.com/UnityCodeMonkey/