Arty
|
Result from sampling direct lighting from a light source. More...
#include <lights.h>
Public Member Functions | |
DirectLightingSample (const float3 &p, const rgb &i, float pa, float pd, float c) | |
Public Attributes | |
float3 | pos |
Position on the light source. | |
rgb | intensity |
Intensity along the direction. | |
float | pdf_area |
Probability to sample the point on the light. | |
float | pdf_dir |
Probability to sample the direction using emission sampling. | |
float | cos |
Cosine between the direction and the light source geometry. | |
Result from sampling direct lighting from a light source.