Mix roughness¶
Description¶
This roughness combines other roughness properties and averages them.
Note
Using this feature requires an Advanced Edition license
Children Nodes¶
This node is an roughness list. It may have a variable number of roughness children.
user-defined | First roughness |
user-defined | Second roughness |
user-defined | ... |
Parameters¶
name | type | description |
---|---|---|
weights | table(real) | The averaging weights of each child roughness |
Ocean XML 3.0 example¶
<roughness type="mix" name="roughness">
<param name="weights" type="list">
<row weight="1"/>
<row weight="0.1"/>
</param>
<roughness type="beckmann" name="rough">
<scalarshader type="uniform" name="roughness" value="0.4"/>
</roughness>
<roughness type="beckmann" name="smooth">
<scalarshader type="uniform" name="roughness" value="0.001"/>
</roughness>
</roughness>