The V-Ray TexOSL map can be used to load Open Shading Language OSL shader code files (.osl) or OSL object code files (.oso) and render them directly with V-Ray. It can be used with shaders that have simple color and float output parameters. These parameters are considered respectively as texture RGB and alpha outputs. If the shader file describes a material (rather than a texture) and writes its result in an output closure color parameter, it is advised to use the V-Ray OSL Material. Otherwise, the texture map will not evaluate the materials and will be rendered black. For more on OSL in general, see the Github reference. |