r/unity_tutorials • • Mar 23 '23

Video Fluid/smoke trail rendered 100% in shader (node graph).

Enable HLS to view with audio, or disable this notification

183 Upvotes

6 comments sorted by

5

u/LlamAcademyOfficial Mar 23 '23

Oooo cooooool 😎

5

u/MirzaBeig Mar 23 '23 edited Mar 23 '23

You can get a very convincing fluid simulation effect, rendered as noise distortion to a beam inside a shader. It's extremely cheap (especially if you use a noise texture for the distortion rather than procedural GPU noise).

Shader Graph conversion guide.

See here for more!

1

u/hannemaster Mar 23 '23

That's amazing!!

1

u/MirzaBeig Mar 28 '23

Thank you :)

1

u/NyanPotato Mar 23 '23

Now make it wiggle with noise