---
title: "OSL Patterns"
canonical: "https://rmanwiki-26.pixar.com/space/RFH26/19268187/OSL%20Patterns"
format: markdown
---
Create a PxrOSL VOP Node (note the operator name is pxrosl:2 to avoid clashing with the node shipped with Houdini).

![image](media://695b911f-202d-4375-b3d0-c7d7a453e76a)

- File Path for the oso. Parameters and inputs loaded from this oso
- Source File Path for the osl. Will be compiled to File Path
- Compose osl in code block.

Set RMAN_SHADERPATH environment variable to load oso files in path. These will be organized in TAB menu based on directory levels where they are saved. 

> ℹ️ <span style="color: #000000">Set environment variable RFH_ARGS2HDA=1 to create houdini digital assets on start up based on .args or .oso files found in RMAN_SHADERPATH and/or RMAN_RIXPLUGINPATH.</span>

- .oso shaders found in $RMAN_SHADERPATH are automatically converted to otls, and stored in $HOUDINI_USER_PREF_DIR/otls/rfh_osllib.hda