Home Unreal Engine

UDK - Material - Procedural Ramp?

polycounter lvl 12
Offline / Send Message
Ace-Angel polycounter lvl 12
Hey to all,

For the past few days, I have been trying to create a procedural ramp for a toon shader, but to no avail.

Here is what I did so far.

Used my TexCoord node R channel to create the ramp.
Created basic Lamb function (Light . Normal).

Now this is the part where it threw me off, because I was expecting clean results.

Lerp (Color, Ramp, Lamb).

So basically, I used my Alpha of the Lerp as the UV's for the Lamb function, but the results where less then wholesome.

I also tried a basic Multi and Dot instead of the Lerp, but still the results are iffy as they end up replacing my colors if I try and tint them.

I was wondering if it's is indeed possible to do what I'm trying to do.

But the same time, I would like to know if it's better off to create a procedural ramp or am I better off in just sticking a small texture instead.

Cheers and thanks for any feedback.

Replies

Sign In or Register to comment.