An assortment of OSL shaders for your perusal

I was afraid of that :roll:. On a related note, I see you have #ifdef __VRAY_OSL__ calls on many of your OSL shaders. Do you know if there is a way to specify with a similar call whether one is using OSL for Vray with Max as opposed to OSL for Vray with Maya? The syntax of how one needs to write OSL stuff for Maya and Max differs so it would be useful to specify.

p.s. Where did you learn about the #ifdef __VRAY_OSL__ call? I don’t recall seeing it in the docs.