Shader File Name – Specifies the .osl or .oso file which contains the shader code.
Recreate attributes – Reloads the material and resets its parameters.
Viewport color – Specifies the diffuse component of the material used in the viewport shading.
Max Ray Depth – Specifies the maximum reflection/refraction depth for the material.
Closure Output – Specifies the closure color source for the materials output. The built-in output closure color parameter Ci is selected by default.
Column
width
5%
Column
width
35%33%
Image RemovedImage Added
Shader Attributes
...
Section
Column
width
60%
This This section holds all parameters found in the shader itself and can be edited from here.
Column
width
5%
Column
width
35%33%
Image RemovedImage Added
Notes
...
Fancy Bullets
type
circle
The VRayOSLMtl material automatically compiles OSL shaders to object code (OSO format) upon shader selection. No following compilations occur (even at render events). If the loaded OSL shader is modified use the context menu options Reset or Reload of the Shader file button for your changes to take effect.
An OSL compiler that translates *.osl files to *.oso files can be found in the tools subdirectory of V-Ray's root installation folder.