diffuse Element Reference
Ideal diffuse BSDF (aka lambertian), with variable albedo. More...
Inheritance diagram for diffuse:

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).
| type | clampedSpectrum |
| optional | true |
| default | 0.5 |
| units | unitless |
Generated on 28 Feb 2009 for MiltonScenefileFormat by
1.5.6