Coated diffuse material

Description

../../../_images/coateddiffuse.jpg

Example of phong material

Material This material simulates an absorbing dielectric layer with a diffuse backing paint, or similarly a diffuse material coated with a perfectly smooth colored varnish. It handles exactly multiple reflections within the layer, and may have a custom interface law such as an interferential coating. This material type models accurately and efficiently enameled or painted glass panes, with exact colorimetry.

Children Nodes

Filter shader diffuse The spectral diffuse reflectance, or albedo, of the backing paint or substrate
Medium coatingmedium The layer medium corresponding to the glass pane or varnish material
Interface law intlaw Optical law governing reflection and transmission coefficients on the layer outer surface
Medium bulk The bulk medium filling the geometry volume on the back side
Normal shader bump Normal shading modifier
Emitter emitter The Surface light emission properties

Parameters

name type description
coatingthickness real The layer thickness (glass pane thickness for spandrels, or varnish thickness)

Ocean XML 3.0 example

<material type="coateddiffuse" name="spandrel" coatingthickness="0.004">
        <filtershader type="uniform" name="diffuse">
                <spectrum type="uniform" name="spectrum" value="0.85"/>
        </filtershader>
        <medium type="simple" name="coatingmedium" precedence="0">
                <spectrum type="cauchy" name="n" b="1.5235" c="0.00424672"/>
                <spectrum name="a" type="tabulated" start="380E-9" end="780E-9" num="41">
                        34.825  21.325  13.025  13.6    15.125  14.3    14.4    13.575  12.75
                        10.05   6.925   8.3     9.8     9.45    9.925   8.175   7.25    8.275
                        9.675   9.775   12.1    14.075  15.025  17      19.375  21.275  22.825
                        25.7    27.125  29.175  31.625  35.05   37.025  40.1    42.6    45.625
                        47.65   49.8    52.85   54.925  58.025
                </spectrum>
        </medium>
</material>