Hello !
I’ve been tinkering for a while now with VFX graph in Unity. I’m amazed by its power and I love learning it. So far I have been able to recycle chunks of nodes from other effects and use and adapt them to new graphs.
The more I use it the more I can start making cool effects from scratch. I’m really happy about the progress!
This effect is basically two Pcaches interpolating to one another according to a sine wave over time.
So the sphere shape is 1 and the pyramid shape is 0. The shuffle is a third shape, a cube with turbulence, that is everything in between those values.
The light rays are the same ones as in the Holotable demo. I just needed to interpolate between the same current positions and target positions. I also hooked the same sine wave to the colors and the Y scale of the cube particles for more details.
Any feedback is warmly welcomed and please, if you have any suggestions leave a comment!
Edit:
I still had some time to play with the effect and added some cool features!
The graph is a bit messy but there is always room for improvement from that point.
Edit2:
Ok, it may or may not be the last edit but I had to show some progress I made today with my system.
Now that I have been playing more with VFX graph, I have even more control over many features than I thought!
I have exposed many of the parameters and binded some of them to an empty game object’s position with the VFX parameter binder script.
In this effect; particle scales, shape lerps and particle orientations are binded to different objects.
The particles scale can be scaled by moving the object in whichever direction we want our particles to grow bigger.
The orientation is looking directly at the game object’s position all the time.
Finally, the shape lerps are binded to a game object’s position in Y.
It then becomes much easier to animate those parameters using a timeline.
The animations are clips containing all the possible lerps position so I can just use parts of the clips to lerp to any positions and back to the original.
Same goes for all the exposed parameters (…rays color, rays width, number of rays…).
We could call this modular VFX animations.
The background is basically a panning perlin noise spawning and scaling particles according to its grayscale values.
Also, the graph is now much cleaner!
Edit3 (and final):
I added finishing touches to the cube state and added more control on the textures in the background.
I can now blend 2 noise textures together and adjust their respective tiling and offset in the inspector!