Double-sided bsdf


BSDF 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

bsdf front The front side bsdf
bsdf back The back side bsdf

Ocean XML 5.6.2 example

<bsdf type="doublesided" name="bsdf">
     <bsdf type="lambertian" name="front">
             <filtershader type="constant" name="diffuse" value="0.75"/>
     <bsdf type="reflective" name="back" rereflections="true">
             <roughness type="beckmann" name="roughness">
                     <scalarshader type="uniform" name="roughness" value="0.1"/>
             <intlaw type="cfresnel" name="intlaw">
                     <medium type="linked" name="medium" target="ocean-metals::Al"/>