Oren-Nayar material

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

Example of Oren-Nayar materials with various sigma values


This material type follows the Oren–Nayar reflectance model. It corresponds to rough diffuse materials, with a user-definable roughness parameter. This is a more refined model than Lambertian material for describing diffuse surfaces.

Children nodes

filtershader-2014.png diffuse
Filter shader : The spectral diffuse reflectance, or albedo, of the material
scalarshader-2014.png sigma
Scalar shader : The material roughness, between 0 (no roughness, equivalent to Lambertian) and 1 (maximum roughness)
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

Ocean XML 2.0 example

<?xml version="1.0" encoding="UTF-8"?>
<oceanroot version="2.0">
<material name="wall" type="oren_nayar">
	<filtershader name="diffuse" type="uniform">
		<spectrum name="spectrum" type="tabulated" start="388E-9" end="780E-9" num="8">
			0.2 0.25 0.3 0.35 0.5 0.6 0.7 0.7
 	<scalarshader name="sigma" type="uniform" value="0.5"/>

See also

Material types