OSL Shaders

OSL Shaders

Using OSL Shaders

Contrary to what may be obvious, you do not need to create a PxrOSL pattern in order to use OSL shaders in RfK. The conversion from OSL shader to PxrOSL is done automatically by the plugin.

As you would with any other shader, add the path to your favorite OSL shaders to your $RMAN_SHADERPATH and your OSL shaders will be available as first class shaders along with the RSL shaders in RMAN_SHADERPATH.

When the scene is rendered RfK will walk the shading tree and fold the OSL nodes into the appropriate data needed for PxrOSL.

See Also

  • For technical information about PxrOSL and further implementation details, see Working with PxrOSL.
  • For more information on OSL, the oslc compiler, and oslquery please consult the OSL documentation from Sony Pictures ImageWorks.