<args format="1.0">
    <shaderType>
        <tag value="pattern"/>
    </shaderType>
    <help>
        Emits one color for primary ray hits and another for
        non-primary hits.
    </help>
    <param name="incolor"
        label="Input Color"
        type="color"
        default="1 1 0"
        connectable="True"
        widget="color">
        <tags>
            <tag value="color"/>
        </tags>
    </param>
    <param name="action"
        label="Color Action"
        type="int"
        default="0"
        connectable="False"
        widget="mapper">
        <hintdict name="options">
            <string name="Complimentary" value="0"/>
            <string name="Grayscale" value="1"/>
            <string name="Invert Grayscale" value="2"/>
            <string name="Use Alternative Color" value="3"/>
        </hintdict>
    </param>
    <param name="alternative"
        label="Alternative Input Color"
        type="color"
        default="1 0 0"
        connectable="True"
        widget="color">
        <tags>
            <tag value="color"/>
        </tags>
    </param>
    <param name="passthrough"
        label="Pass Through"
        type="int"
        default="0"
        connectable="False"
        widget="checkbox">
        <tags>
            <tag value="int"/>
        </tags>
    </param>
    <output name="resultRGB">
        <tags>
            <tag value="color"/>
        </tags>
    </output>
    <output name="resultMask">
        <tags>
            <tag value="float"/>
        </tags>
    </output>
    <output name="resultInvertedMask">
        <tags>
            <tag value="float"/>
        </tags>
    </output>
    <rfmdata nodeid="14" classification="rendernode/RenderMan/pattern"/>
</args>