#include <matte.h>

Public Member Functions | |
| Matte (boost::shared_ptr< Texture< Spectrum > > kd, boost::shared_ptr< Texture< float > > sig, boost::shared_ptr< Texture< float > > bump) | |
| BSDF * | GetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading, float u) const |
Static Public Member Functions | |
| static Material * | CreateMaterial (const Transform &xform, const TextureParams &mp) |
Private Attributes | |
| boost::shared_ptr< Texture < Spectrum > > | Kd |
| boost::shared_ptr< Texture < float > > | sigma |
| boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file matte.h.
| Material * Matte::CreateMaterial | ( | const Transform & | xform, | |
| const TextureParams & | mp | |||
| ) | [static] |
Definition at line 52 of file matte.cpp.
References bumpMap, lux::TextureParams::GetFloatTexture(), lux::TextureParams::GetSpectrumTexture(), Kd, Matte(), and sigma.
Referenced by lux::MakeMaterial().
| BSDF * Matte::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
| const DifferentialGeometry & | dgShading, | |||
| float | u | |||
| ) | const [virtual] |
Implements lux::Material.
Definition at line 33 of file matte.cpp.
References lux::BSDF::Add(), BSDF_ALLOC, lux::Material::Bump(), bumpMap, Clamp(), Kd, lux::DifferentialGeometry::nn, and sigma.
boost::shared_ptr<Texture<float> > lux::Matte::bumpMap [private] |
boost::shared_ptr<Texture<Spectrum> > lux::Matte::Kd [private] |
boost::shared_ptr<Texture<float> > lux::Matte::sigma [private] |
1.5.9