User guide

143
Widget Options
Based on the specified widget type, there are a number of options available. In case of a color parameters for
example, these options allow settings like the restriction of the components (RGBA) to a range between 0 and 1. For
numeric parameters, the display format and slider options, such as range and sensitivity can be specified.
For example, in the widget options of a Mapping Popup menu, if you specify a list of numbers and their labels, they
are displayed as a drop-down list.
Conditional Visibility Options
Some shader parameters are not applicable or do not make sense under certain conditions. To hide these
parameters from the UI, select Conditional Visibility Options... from the wrench menu. Multiple conditions are
matched and combined using AND OR keywords.
This looks as follows In an .args file:
<param name="SpecularExponent">
<hintdict name="conditionalVisOps">
<string value="greaterThan" name="conditionalVisOp"/>
<string value="../Ks" name="conditionalVisPath"/>
<string value="0" name="conditionalVisValue"/>
</hintdict>
20 ARGS FILES IN SHADERS | EDIT SHADER INTERFACE INTERACTIVELY IN THE UI