<!--
Aurthor: Malcolm Kesson
Date:    25th Sept. 2015
Edit:     Reformatted 26th July 2016
-->
<args format="1.0">
    <shaderType>
        <tag value="pattern"/>
    </shaderType>
    <help>
        Applies a fake lighting effect to the edges of curved object.
    </help>
    
    <page name="Velvet Edge" open="True">
        <param name="edge_width" 
            label="Width" 
            type="float" 
            default="0.5" 
            connectable="True" 
            min="0" max="1" 
            widget="default">
            <tags>
                <tag value="float"/>
            </tags>
        </param>
        <param name="edge_color" 
            label="Color" 
            type="color" 
            default="0.5 0.8 0.4" 
            connectable="True" 
            widget="color">
            <tags>
                <tag value="color"/>
            </tags>
        </param>
        <param name="edge_brightness" 
            label="Brightness" 
            type="float" 
            default="1" 
            connectable="True" 
            min="0" max="1" 
            widget="default">
            <tags>
                <tag value="float"/>
            </tags>
        </param>
    </page>
    <page name="Velvet Base" open="True">
        <param name="base_color" 
            label="Color" 
            type="color" 
            default="0.3 0.5 0.3" 
            connectable="True" 
            widget="color">
            <tags>
                <tag value="color"/>
            </tags>
        </param>
        <param name="base_brightness" 
            label="Brightness" 
            type="float" 
            default="1" 
            input="True" 
            min="0" max="1" 
            widget="default">
            <tags>
                <tag value="float"/>
            </tags>
        </param>
    </page>
    <output name="resultRGB">
        <tags>
            <tag value="color"/>
        </tags>
    </output>
    <rfmdata nodeid="7" classification="rendernode/RenderMan/pattern"/>
</args>