Mental Ray Custom Shaders Library

--------------------------------------------------------------------------------------------

My Mental Ray Speed-up Mel

approxDs.mel

I wrote this scrip to get the right Alpha Depth Factor from Z-brush into maya displacement aproximation attributes.

fgMinMax.mel

This a really simple script that calculates the min and max radius and sets the renderglobals.

mrTextureSetup.mel

This is just a fast way to set the misss for the Mentalray Texture Name

fgTraceDDr.mel

This a really simple script that calculates the Trace Refraction, Reflection and Depth for Final Gather.

 

 

 

 

Disclaimer : I did not write these shaders. This is just a my MR data base. Big thanks to Francesca, Jan Sandstrom, Pavel Ledin aka Puppet,Andreas C. Bauer and bmcaff, for providing the shaders to the Mental Ray Community.