thin film shader

Hi guys,

I tried to convert NVIDIA’s thin film shader
http://developer.download.nvidia.com/SDK/9.5/Samples/samples.html#glsl_thinfilm
to a surface shader for unity and I failed miserably. The result, that doesn’t look like thin film at all, is attached nonetheless, if someone wants to fix it.

390368–13427–$thinfilm_180.zip (1.03 MB)

I hear ya, though still seems useful- thanks.

The weird thing is, looking at it from the top in the editor window, it looks just like the thin film sample.