Reflective material

From Eclat-Digital Ocean 2014 Documentation
Jump to: navigation, search


Example of reflective material with rough copper properties
material-2014.png

Description

This model describes reflective opaque surfaces. It uses a roughness model for describing the slope distribution, and an interface law for the spectral reflection coefficient. The combination of both allows describing a very broad variety of materials.

For modelling a transparent surface, please refer to rough transparent material and specular material types.

Children nodes

intlaw-2014.png intlaw
Interface law : Optical law governing reflection coefficient
roughness-2014.png roughness
Roughness : Surface small-scale roughness distribution
medium-2014.png bulk
Medium : The bulk medium filling the geometry volume on the back side
normalshader-2014.png bump
Normal shader : Normal shading modifier
emitter-2014.png emitter
Emitter : The Surface light emission properties

Parameters

rereflections
boolean
If set to true (by default), Ocean simulates first order rereflections on the roughness. This is more accurate, but slower. The effect is more visible with very rough surfaces
polarized
boolean
If set to true (by default), Ocean computes accurate polarization state for reflections/refractions. When set to false, a faster, more simple yet less accurate unpolarized model is used for this material


Ocean XML 2.0 example

<?xml version="1.0" encoding="UTF-8"?>
<oceanroot version="2.0">
<material type="reflective" name="previewmaterial">
	<prm rereflections="true" polarized="true"/>
	<intlaw type="cfresnel" name="intlaw">
		<medium type="linked" name="medium" target="ocean-metals::Cu"/>
	</intlaw>
	<roughness type="phong" name="roughness">
		<scalarshader type="uniform" name="exponent" value="500"/>
	</roughness>
</material>
</oceanroot>

See also

Material types