You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

    Page not found for multiexcerpt macro.
The page: A5AFMUG:OSL Shader was not found. Please check/update the page name used in the 'multiexcerpt-include macro.



Just like any other third-party shader libraries, OSL shaders placed in the shader search path are automatically registered as Arnold shader nodes. The OSL shader parameters are converted to Arnold parameters. Once loaded, they can be inspected, instantiated and linked in the same way as C++ shaders.

To render OSL shaders directly with Arnold, you must do the following: 

  • Put the OSL shader (.osl and .mtd) in a folder, and set ARNOLD_PLUGIN_PATH to point to this folder.  For example:


  • Arnold will automatically compile the .osl file and produce a dll (.oso) file.


To render OSL shaders directly in C4DtoA, you must do the following: 

The easiest way to install is to copy the .osl or .oso file to the $C4D_INSTALL/plugins/C4DtoA/shaders folder. All plugins located in this folder are read automatically by the plug-in. Meta data (.mtd) file placed next to the OSL shader is also loaded. If the shader ships with C4D UI resource files (.res, .h, .str) you have to copy them to the $C4D_INSTALL/plugins/C4DtoA/res folder.

You can also use the ARNOLD_PLUGIN_PATH environment variable to set up the shader search path. See the Third-party Shaders page for more details.

  • No labels
Privacy settings / Do not sell my personal information / Privacy/Cookies