Data Fields
AtLightSample Struct Reference

Light sample data structure. More...

#include <ai_shader_lights.h>

Data Fields

const AtNodeLp
 pointer to light node
 
float Ldist
 distance from P to light source
 
AtVector Ld
 normalized direction vector from P to the light sample
 
AtRGB Li
 incident radiance, same as Liu * (1 - Lo)
 
AtRGB Liu
 unoccluded incident radiance
 
AtRGB Lo
 shadow occlusion factor, (1,1,1) means fully occluded
 
float pdf
 sample probability density function
 
uint8_t trace_ray_types
 bitmask of ray types that will return light hits from AiLightsTrace More...
 

Detailed Description

Light sample data structure.

Field Documentation

uint8_t AtLightSample::trace_ray_types

bitmask of ray types that will return light hits from AiLightsTrace

and so can use multiple importance sampling (MIS)


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

© 2009-2018 Solid Angle SL · all rights reserved · www.solidangle.com