Glossy BSDF¶
Description¶
This BSDF type is a generalization of the Phong BSDF for any roughness distribution.
It corresponds to densely diffuse materials, with a surface smooth enough to allow specular reflection, such as smooth paints, laquered or varnished surfaces.
This is a more refined model than Phong BSDF for describing glossy surfaces, as any roughness distribution can be set for modelling the specular reflection component.
Note
Using this feature requires an Advanced Edition license
Children Nodes¶
diffuse | The spectral diffuse reflectance, or albedo, of the BSDF |
roughness | The surface roughness distribution |
Parameters¶
name | type | description |
---|---|---|
ior | real | The refractive index of the surface |
Ocean XML 4.0 example¶
<bsdf type="glossy" name="bsdf" ior="1.52">
<filtershader type="uniform" name="diffuse">
<spectrum type="rgb" name="spectrum" rgb="0.53 0.38 0.37" gamma="2.2"/>
</filtershader>
<roughness type="beckmann" name="roughness">
<scalarshader type="uniform" name="roughness" value="0.1"/>
</roughness>
</bsdf>