lambertian docs

metadata
Wenzel Jakob 2010-09-19 12:58:49 +02:00
parent 0bba70a89d
commit 0c8e6f7a5c
1 changed files with 14 additions and 3 deletions

View File

@ -23,9 +23,20 @@
MTS_NAMESPACE_BEGIN
/**
* Simple one-sided Lambertian (i.e. perfectly diffuse) material
*/
/*!
The Lambertian material represents a one-sided ideal diffuse material
with the specified amount of reflectance. Optionally, a texture map may
be applied. If no extra information is provided, the material will revert to
the default of uniform 50% reflectance.
Seen from the back side, this material will appear completely black.
\verbatim
<bsdf type="lambertian">
<srgb name="reflectance" value="#a4da85"/>
</bsdf>
\endverbatim
*/
class Lambertian : public BSDF {
public:
Lambertian(const Properties &props)