Double-sided bsdf¶
Description¶
This special bsdf allows defining different reflective properties for the two sides of the geometry surface.
It uses two other bsdf definitions, one for each side. Only reflectances are considered, this bsdf has zero transmission by construction.
Children Nodes¶
The front side bsdf |
|
The back side bsdf |
Ocean XML 6.1 example¶
<bsdf type="doublesided" name="bsdf">
<bsdf type="lambertian" name="front">
<filtershader type="constant" name="diffuse" value="0.75"/>
</bsdf>
<bsdf type="reflective" name="back" rereflections="true">
<roughness type="beckmann" name="roughness">
<scalarshader type="uniform" name="roughness" value="0.1"/>
</roughness>
<intlaw type="cfresnel" name="intlaw">
<dielectricfunc type="linked" name="dielectricfunc" target="ocean-metals::Al"/>
</intlaw>
</bsdf>
</bsdf>