diffuse Element Reference

Ideal diffuse BSDF (aka lambertian), with variable albedo. More...

Inheritance diagram for diffuse:

bsdf

List of all members.

Attributes

clampedSpectrum kd
 Wavelength-dependent spectrum which scales / attenuates the overall reflectance of the material (diffuse albedo).


Detailed Description

Ideal diffuse BSDF (aka lambertian), with variable albedo.

Note:
diffuse corresponds to the underlying Milton class 'DiffuseBSDF.'

Example usage:

"material": {
// specify bump map
"bumpMap" : "images/bark/bark_disp.jpg",
"bumpIntensity" : 5,

// diffuse texture map indicating reflectivity
"bsdf" : {
"type" : "diffuse",
"kd" : "images/bark/bark_kd.jpg",
},

// ...
},

Attribute Documentation

Wavelength-dependent spectrum which scales / attenuates the overall reflectance of the material (diffuse albedo).

typeclampedSpectrum
optionaltrue
default0.5
unitsunitless


Generated on 28 Feb 2009 for MiltonScenefileFormat by doxygen 1.5.6