PDA

View Full Version : Shader with fade... ?


lupedelupe
10-23-2008, 09:17 AM
I am pretty sure it's possible, just can't quite figure out how.

I am trying to apply a material to a mesh where I want it to appear if one end is completely opaque, and the other end completely invisible. In other words the mesh (something like a long tube) needs to go from a normal material to literally nothing.

So far I suspect that is has something to do with the transparency or translucency slots of the material's Maps section. Doesn't quite work - yet!

Any pointers? I work with Max 5, and Raytrace mats.

Thanks...

phix314
10-23-2008, 07:30 PM
I'd go with applying a ramp to the transparency slot, making sure there's no refractions being calculated.

lupedelupe
10-24-2008, 10:05 AM
Thanks - messing with that right now...

Okay - have some results, but I get the two ends that are now translucent, and the middle opaque - as if the effect mirrors itself in the centre. What to change to have it run only from one end to the next?

Thanks... help hugely appreciated.

phix314
10-24-2008, 08:37 PM
Either the UVW unwrap or some tile settings for the ramp.

lupedelupe
10-27-2008, 11:59 AM
Have been using UVW unwrap anyway.
Screenies attached of settings...

CGTalk Moderation
10-27-2008, 11:59 AM
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.