The Reflector (OSL)

Behold! The reflector is here!

An OSL texture shader to give correct reflections for metals and non-metals, with polarisation, outside IOR, and rough Fresnel options!

This last feature is really interesting as in most renderers how much the material will reflect on the grazing angles or sides of the material will not change with the roughness of the material, resulting in too dark or too bright edges. See the shader page linked below for all the details.

The UI in VRay:

A comparison with rough Frensel enabled on the left:

A second comparison with rough Fresnel enabled on the left:

A comparison of the reflection amount, left is with the shader:

Download links:
Save both in the same folder, both are needed for the shader to work. Overwrite rhfunctions.h if asked.

Enjoy! 🙂

Leave a Reply

Your email address will not be published.