Wednesday, November 29, 2023
HomeVisual EffectsHow you can map gradient on path for VFX Texture

How you can map gradient on path for VFX Texture


Howdy, for numerous Alpha Erosion and Smoothstepping functions I generally must create a “path” and I want it mapped from black to white by following the trail path.

For “linear” stuff it’s no subject because it’s only a matter of overlaying a gradient with a sure angle, however i’m puzzled relating to how I could make this gradient comply with the path of a path.

I’m including a horrible drawing I rapidly painted, in hopes of creating my query extra comprehensible.

Anybody received an thought?

P.S: Bonus factors if I don’t have to make use of Adobe Illustrator :sweat_smile: but when there’s a method to do it there, I’m up for it!


Perhaps I misunderstood your query, however so far as making ready a curve for sport VFX, you must uv flatten your uv-s earlier than bringing it to a sport engine.

From this

To that.

You then use a texture coordinate gradient node within the materials editor like this to get a gradient from starting to finish.

giphy



1 Like

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments