Thin film OSL shader

I hate to use this as a reference, but here are some examples:
http://blog.maxwellrender.com/tips/pushing-the-limits-of-realism-of-materials/

Best regards,
Vlado