From 0c8e6f7a5cff481627ffed83722667c07ba29a19 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Sun, 19 Sep 2010 12:58:49 +0200 Subject: [PATCH] lambertian docs --- src/bsdfs/lambertian.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/bsdfs/lambertian.cpp b/src/bsdfs/lambertian.cpp index c38675ec..c7f0f25b 100644 --- a/src/bsdfs/lambertian.cpp +++ b/src/bsdfs/lambertian.cpp @@ -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 + + + +\endverbatim +*/ class Lambertian : public BSDF { public: Lambertian(const Properties &props)