Table of Contents

This page provides information about the TexOSL Node in V-Ray for Cinema 4D.


Overview


The V-Ray TexOSL node can be used to load Open Shading Language OSL shader code files (.osl) or OSL object code files (.oso). The V-Ray TexOSL plug-in can be used with the V-Ray Material node, as it has 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 MtlOSL material. Otherwise, the texture map does not evaluate the materials and is rendered black.

For more on OSL, see the Github reference.



Parameters


Shader FileSpecifies the .osl or .oso file which contains the shader (object) code.

Reload Shader – Reloads the shader file. This option is useful if changes to the shader file are slow to display. 



Context


Context – Allows the attachment of a Context node (UVW generator) to adjust the UVWs of the texture. For more information, visit the Context Nodes page.


Was this helpful?