Sunday, March 4, 2012
Procedural cloth shaders ( Maya2012 - Mental Ray 3.9 )
Maya2012 file. The top left is polyester, top right is silk, bottom right is denim and bottom left is cotton.
They all use Maya's procedural cloth node, a ramp shader for the Fresnel effect and a mia_material_x shader. The camera has a mia_exposure_simple lens shader and colors have a gamma node to stay in a linear color space.
Edit #1: 03/22/2012
Update coming soon. I'm updating the shaders based on some excellent advice on this blog. She is using a sampler info node to simulate a Fresnel effect, where I tend to use a rampShader. I like her method better than mine since it gives control in one location.
Edit #2: 03/29/2012
New shaders have been uploaded. The denim is WIP and will be updated when I have some extra time.