OSL Texture


The OSL Texture node is a scriptable node that lets you write scripts using OSL (Open Shader LanguageA shading language developed by Sony Pictures Imageworks. There are multiple render engines that utilize OSL as it is particularly suited for physically-based renderers.) to define arbitrary texture types and create customized OctaneRender® materials and shaders.

OSL is a standard created by Sony Imageworks. To learn about the generic OSL standard, information is provided from the OSL Readme and PDF documentation. To learn more about scripting within OctaneRender® using the Open Shader Language, refer to The Octane OSL Guide.

OctaneRender® supports most of the texturing functions (like TexturesTextures are used to add details to a surface. Textures can be procedural or imported raster files. or Noises) in the OSL Specification.




OSL Texture Parameters

Filename - Full path and filename of the OSL file.

Open OSL Editor - Opens the OSL Script Editor. Changes are saved back to this node once you close the OSL Editor window. The Octane Viewport must be open to use this command, and this node must be used by the material.

Copy OSL To Clipboard - Copies the OSL for this node to the system clipboard.

Paste OSL From Clipboard - Pastes the OSL from the system clipboard into this node.

Input User Channels - If the OSL script generates inputs, the plugin will add a Modo User Channel for each input, allowing you to connect Octane nodes to the OSL Texture. Input channels will appear after closing the OSL Editor window.


Note: OSL scripts that generate multiple outputs are not supported.