Path Tracer
|
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 |
![]() | |
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< texture > | emit |