Velvet material

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


Example of velvet material
material-2014.png

Description

This material uses an empirical model which fits the back-reflection caused by thin vertical rods or fibers, such as velvet.

Children nodes

filtershader-2014.png diffuse
Filter shader : The spectral diffuse reflectance, or albedo, of the fiber material
scalarshader-2014.png sigma
Scalar shader : The fiber direction spread, between 0(perfectly aligned) and infinity(spread in every directions). Generally below 1
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

rebounce
real
Parameter controlling the probability for a reflected ray to collide again with another rod. Between 0 and 1
spread
real
Parameter controlling the correlation between neighbor rods directions in case of multiple bounces. Between 1(correlated) and 5(very uncorrelated)


Ocean XML 2.0 example

<oceanroot version="2.0.2">
<material type="velvet" name="bluevelvet" rebounce="0.8" spread="1.6">
	<filtershader type="uniform" name="diffuse">
		<spectrum type="rgb" name="spectrum" red="0.8" green="0.86" blue="1" gamma="2.2"/>
	</filtershader>
	<scalarshader type="uniform" name="sigma" value="0.2"/>
</material>
</oceanroot>

See also

Material types