


When new shader code is imported, it’s automatically compiled:.Select the new aiOslShader node and in its attributes either write new OSL code in the code OSL Code section, or press Import to Load an OSL shader file (*.osl):.Writing an OSL shader or loading it for single use (just the current project): Steps for using OSL shaders in Maya & Arnold: You can both load or write OSL shaders on the fly, compile, test, and render them,Īnd also define a shader folder path for shaders to be available as part of your library for all projects.

Autodesk Maya 2020 & Arnold 6 offer a flexible OSL development and usage workflow.
