Mix roughness¶
Description¶

Carbon reflective material associated with a mix roughness. The rough surface is mixed with a smooth one, to simulate a soft polishing which did not reach the grooves bottom.¶
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.
First roughness |
|
Second roughness |
|
… |
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>