View Full Version : Tricky dirtmap & transparency problem

02-20-2005, 10:00 PM
hhhmm, so I'm really scratching my head with this one :) Hoping there's a simple solution. Is there any way that anyone can think of to get Dirtmap to respect transparency values? Right now, my glasses are being occluded as If they're solid and not transparent, giving an undesirable darkness around the eyes from the glasses. Any bright ideas? Any help appreciated!

02-20-2005, 10:03 PM
the fast dirty way:) just leave the glasspart out of the dirtmap alltogether

02-20-2005, 10:10 PM
Maybe I'm being super dumb here. How would I do that? Dirtmap is plugged into the ambient colour of his face, so I'm not sure how I would exclude the glasses unless they're simply not in the scene. Am I missing something obvious? :)

02-20-2005, 10:25 PM
Hide the lenses before rendering?

02-20-2005, 10:25 PM
....the glasses unless they're simply not in the scene

Exactly that. Delete them for the occlusion pass.

02-20-2005, 10:29 PM
Ah so you mean render the occlusion pass seperately? Doh yeah, hadn't thought about that. thanks!

02-20-2005, 10:31 PM
There is a far better way. Just turn off visible in reflection/refraction. Its a raytracing node, so those 2 flags will make it invisible to the dirt shader.

02-20-2005, 10:35 PM
Now that's what I'm talking about. Works a treat thanks Jackdeth!

CGTalk Moderation
02-20-2006, 11:00 PM
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.