View Full Version : how turn mia_mats alpha to black

07 July 2011, 02:47 PM
does anybody know how to do this?

Ive got a mia_mat with cutout map for rendering leaves on a tree and I need custom pass which makes leaves like a matte out surfaceshader (results black in rgb and alpha channels) - I want to use mia but it outputs white according to cutout map and theres no way for my how to change matting behavior like in standard maya shader like lambert etc.

Is there any way? (I tried to connect mias result to surface shader and tried to change his matte settings to black but nothing happened > still white alpha)

Thanks to anyone!

07 July 2011, 10:02 AM
Maybe you can try the mip shaders instead of surface shader to get the alpha you want? on how connecting them

If they aren't already enabled type this in your script editor:
optionVar -intValue “MIP_SHD_EXPOSE” 1;

CGTalk Moderation
07 July 2011, 10:02 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.