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

Public Member Functions

 isotropic (const spectrum &c)
 
 isotropic (shared_ptr< texture > a)
 
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
 

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