Generic material¶
Description¶
This material type is a generic model which has several child nodes for describing reflection/transmission, emission, volumic medium, and normal shading.
The associated bulk medium defines the volumic optical properties filling the volume inside the closed surface defined by the material (see modelling volumes).
Children Nodes¶
The bidirectional scattering distribution function |
|
The bulk medium filling the geometry volume on the back side |
|
Normal shading modifier |
|
The Surface light emission properties |
Ocean XML 6.1 example¶
<material type="generic" name="previewmaterial">
<medium type="linked" name="bulk" target="ocean-building-glass::clear"/>
<emitter type="lambertian" name="emitter" metric="basespectrum" quantity="specemit" multiplier="1">
<spectrum type="blackbody" name="base" temp="1500" gain="0.89"/>
<filtershader type="constant" name="posmod" value="1"/>
</emitter>
<bsdf type="specular" name="bsdf" irtrmin_tweak="0">
<intlaw type="fresnel" name="intlaw"/>
</bsdf>
</material>