Ramp shader question


#1

Hey guys and gals,

 I'm wondering if Maya's ramp shader can do something like the following:

I want a character to have a rim effect, somewhat like a toon shader, but only on the top of the character. If he goes end over end, the side that’s facing up gets the effect. Is there a way to do this with shaders only and not a special light set-up?

Imagine a ball being lit from the top. That’s kind of what I’m looking for.

Any ideas?


#2

Hey Floyd do you mean like this?


#3

Use a sampler info to blend between your base shader and rim shader based on (i think) the camera y value


#4

Here’s 2 more example shaders and their structure,

I nearly lost the flow lines in the jpeg compression!


#5

Post it on the Maya: Shader Networks :slight_smile:


#6

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.