---
title: "OSL Patterns"
canonical: "https://rmanwiki-25.pixar.com/space/RFH25/22642767/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://e9a4452e-df21-4584-8ba7-a78f2237e680)

- 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