Path Tracer
Public Member Functions | Public Attributes | List of all members
ptracey::metal Class Reference
Inheritance diagram for ptracey::metal:
ptracey::material

Public Member Functions

 metal (const spectrum &a, Real f)
 
bool scatter (const ray &r_in, const hit_record &rec, scatter_record &srec) const override
 
- Public Member Functions inherited from ptracey::material
virtual color emitted (const ray &r_in, const hit_record &rec, Real u, Real v, const point3 &p) const
 
virtual Real scattering_pdf (const ray &r_in, const hit_record &rec, const ray &scattered) const
 

Public Attributes

shared_ptr< texturealbedo
 
Real fuzz
 

The documentation for this class was generated from the following file: