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

Public Member Functions

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

Public Attributes

shared_ptr< textureemit
 

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