Arty
|
Result from sampling a light source. More...
#include <lights.h>
Public Member Functions | |
EmissionSample (const float3 &p, const float3 &d, const rgb &i, float pa, float pd, float c) | |
Public Attributes | |
float3 | pos |
Position on the light source. | |
float3 | dir |
Direction of the light going outwards. | |
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 on the light, conditioned on the point on the light source. | |
float | cos |
Cosine between the direction and the light source geometry. | |
Result from sampling a light source.