#include <brushedmetal.h>
Public Member Functions | |
BrushedMetal (boost::shared_ptr< Texture< float > > bump) | |
BSDF * | GetBSDF (const DifferentialGeometry &dgGeom, const DifferentialGeometry &dgShading) const |
Static Public Member Functions | |
static Material * | CreateMaterial (const Transform &xform, const TextureParams &mp) |
Public Attributes | |
boost::shared_ptr< Texture < float > > | bumpMap |
Definition at line 31 of file brushedmetal.h.
lux::BrushedMetal::BrushedMetal | ( | boost::shared_ptr< Texture< float > > | bump | ) | [inline] |
Definition at line 33 of file brushedmetal.h.
Referenced by CreateMaterial().
Material * BrushedMetal::CreateMaterial | ( | const Transform & | xform, | |
const TextureParams & | mp | |||
) | [static] |
Definition at line 58 of file brushedmetal.cpp.
References BrushedMetal(), bumpMap, and lux::TextureParams::GetFloatTexture().
BSDF * BrushedMetal::GetBSDF | ( | const DifferentialGeometry & | dgGeom, | |
const DifferentialGeometry & | dgShading | |||
) | const |
Definition at line 32 of file brushedmetal.cpp.
References lux::BSDF::Add(), BSDF_ALLOC, lux::BSDF_GLOSSY, lux::BSDF_REFLECTION, lux::Material::Bump(), bumpMap, and lux::DifferentialGeometry::nn.
boost::shared_ptr<Texture<float> > lux::BrushedMetal::bumpMap |
Definition at line 35 of file brushedmetal.h.
Referenced by CreateMaterial(), and GetBSDF().