Mix roughness

Description

../../../_images/mix.jpg

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.

Environment 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.

Roughness user-defined

First roughness

Roughness user-defined

Second roughness

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>