Skip navigation
#UnityTips: 🔥 Fluid 'simulation' trail shader. 🫧
0:00 / 3:26

#UnityTips: 🔥 Fluid 'simulation' trail shader. 🫧

Mirza Beig

@TheMirzaBeig30K followers

Visit on X
1,054 likesDownloadOriginal post

157,948 views #UnityTips #b3d #unity3d

#UnityTips: 🔥 Fluid 'simulation' trail shader. 🫧 Inspired by a #b3d node animation. [U]V gradient masks control the colour/alpha/width over trail. ✨ ('fluid' is 100% rendered in the shader) #unity3d #gamedev #indiedev #madewithunity #gameart #vfx #realtimevfx #proceduralart

10 Comments

Comments from the original post on X (Twitter)

  • Mirza Beig's profile picture

    @TheMirzaBeig

    In glorious, full screen 1080p. 🤩

    24 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    A still of the node graph. Have a look: 👀📊

    25 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    Once you figure out what's [essentially] happening, it's a matter of converting the logic, either to code or nodes.

    5 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    How to create gradient masks and remap them.

    7 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    Inspired by.

    8 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    Add gradient masks using the (U)V horizontal texture coordinate. Useful for colour, transparency, trail width, and so much more. You get a LOT of mileage from just remapping values.

    6 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    Not currently in the shader, but time quantization can be used to produce a stylized look, like that of a traditional animation.

    6 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    Don't worry if this looks complicated. The many exposed properties are mostly smoothstep + power remaps of gradient masks.

    16 likes

  • Mirza Beig's profile picture

    @TheMirzaBeig

    The results of using the shader with a simple particle system (trail material). Would make for a nice animated wallpaper. 💡

    19 likes

  • yos ytomacedo's profile picture

    @YYtomacedo

    I admire you a lot, I started studying these topics years ago reviewing your vfx and taking them as a reference

    1 like