#include <lightshaders/SpectralLight.h>
Inheritance diagram for SpectralLight:

Public Member Functions | |
| SpectralLight (const char *filename) | |
| rgb | emittedRadiance (const HitRecord &rec, Context &context) const |
|
||||||||||||
|
Used for area lights. The area light's surface has been intersected, so the shader should return the emitted radiance at the hit point in the direction ray came from.
Reimplemented from LightShader. |
1.4.3