Last year, at Blender conference, I’ve show Layered Shading for Physically Correct Materials made of layers or coating, like Car Paint, Polished Nails, Carbon Fiber, etc.
I’ve wrote a very simple OSL Shader to do it, and I’m using it for near every of my projects. It’s now time to release it!
Just because NVIDIA / MentalRay annonced MILA, the Physically correct Layer solution for Mental Ray.
MILA is incredibly close to what I’ve done with PYLA, using Cycles and OSL!!! And I wouldn’t let Blender Users do not having features available in MentalRay!
I strongly recommend you to read the MILA documentation to understant what you can do with PYLA and Cycles : http://elementalray.wordpress.com/2013/01/22/the-layering-library-mila-ui-beta-shaders/
PYLA is in version 1.0, and it still needs some enhancement.
Currently, it could be slow if you use a lot of layers. It doesn’t support tranparency or refractive layers. There is nothing for diffractive layer (irisation).
But it is very simple to use and it works very well ! It’s a very short and very effective script.
here is a little video (using some other OSL shaders soon to be released…) :
You can download it (and read the doc!) here : http://vadrouillegraphique.blogspot.fr/search/label/OSL
Enjoy it !