Monday, December 4, 2023
HomeVisual EffectsEasy methods to map gradient on path for VFX Texture

Easy methods to map gradient on path for VFX Texture


Hey, for varied Alpha Erosion and Smoothstepping functions I generally must create a “path” and I would like it mapped from black to white by following the trail course.

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

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

Anybody acquired an concept?

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


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

From this

To that.

Then you definately use a texture coordinate gradient node within the materials editor like this to get a gradient from starting to finish.

giphy



3 Likes

I believe you need to create a gradient that follows a pen curve path?

You are able to do this simply in Illustrator by following this tutorial. Simply do it in black and white.

If you wish to do it in Photoshop I might comply with precisely this tutorial utilizing a black background. However while you hit 4:12 do all the things he says to do within the form dynamics however do it contained in the ColorDynamics as an alternative. Coloration dynamics controls the opacity whereas within the video he’s controlling brush measurement inside form dynamics.



1 Like

Sorry for misunderstanding your query, right here is my workflow for the same downside. I exploit a texture picture brush in Affinity designer, it’s also possible to apply it on a curve.
Make a particular gadiant proven on the left of the recording, then use that because the gradiat for the brushes.



1 Like

Hello I attempted this one and its so cool, might I ask what’s the identify of the node that has the colour blue sq. on it, sorry Im very new at unreal engine.

Is a vector 3 node. Maintain down quantity 3 on the keyboard and press on materials graff. The identical principel is for vector 1 na vector 2.

As common, vector 3 represents colour and place on the identical time.
Right here its used as colour.

thanks, that is what I’ve accomplished.
GIF_1_06-20-23



1 Like

Thanks everybody for the solutions!

@towi1max2 oh I wasn’t conscious of this “Change Spline” possibility! very helpful certainly!

@Ivan.J.Grba I’m so glad there’s a approach to do it in Affinity Designer because it’s at all times my first desire over Illustrator when potential and it’s good that it’s a “brush” since I often want this kind of gradient mapped over a path/stoke so as to add some second movement to my materials!

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments