UI Path: ||Material Editor window|| > Material/Map Browser > Maps > V-Ray > VRayOSLTex
Coordinates and Noise
Coordinates and Noise are the standard 3ds Max texture rollouts.
The General rollout holds parameters that control common shader characteristics.
shader file – Specifies the .osl or or .oso file file which contains the shader (object) code. This button control also supports a context menu with the following options:
Clear – Unloads the current shader and restores the plug-in as if no shaders have been loaded.
Reset – – Reloads the shader and resets its parameters to the default values.
Reload – – Reloads the shader but keeps the current parameter values.
Open Containing Folder – – Reveals the shader location in Explorer.
Open in External Editor – – Opens the shader in an appropriate text editor.
Recent Files – – Holds a list of the recently loaded shaders and an option to clear the list.
If you edit your OSL shader the new version would be loaded only after a Clear, Reset, or a Reload option has been selected.
color output – Specifies the color source for the texture's RGB output. If "None" is selected the texture renders black.
alpha output – Specifies the float source for the texture's alpha output. If "None" is selected the texture is considered fully opaque.
show preview – Determines whether to render a shader preview in the material editor.
clamp shader result – Determines whether to force the result in the [0, Clamping clamping limit] range or not.
clamping limit – Specifies the upper clamp limit if Clamp if clamp shader result is is enabled.
wrap texture coordinates – Automatically wraps the texture coordinates for the OSL shader passing only values in the [0.0, 1.0] range.
Save oso shader – Enabled only if – Saves an .osl shader is loaded this button control allows the user to save it as an object code shader (.oso). This button is enabled only if an .osl shader is loaded.
The Compiler Output rollout holds shader compilation and manipulation result messages.
Any additional shader–specific parameters (if any) from from the loaded shader file are listed in this rollout.
OSL home page at SPI – Open Shading Language home page at Sony Pictures Imageworks
OSL Google Code page – Google Code project page for Open Shading Language
OSL GitHub page – – GitHub project page for Open Shading Language