Oren-Nayar BSDF

Description

../../../_images/oren_nayar-animated.png

Example of Oren-Nayar BSDFs with various sigma values

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

Children Nodes

Filter shader diffuse The spectral diffuse reflectance, or albedo, of the BSDF
Scalar shader sigma The surface roughness, between 0 (no roughness, equivalent to Lambertian) and 1 (maximum roughness)

Ocean XML 4.0 example

<bsdf name="bsdf" 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
      </spectrum>
   </filtershader>
   <scalarshader name="sigma" type="uniform" value="0.5"/>
</bsdf>