Computes irradiance (global illumination) at the point P with the
normal N.
vector irradiance(vector P, vector N)
Computes irradiance (global illumination) at the point P with the normal
N.
Keyword arguments
See optional parameters.
adaptive
| 1 or 0. Turns on an automatic optimization that will reduce the
number of samples when there is little variation in occlusion
above the sample point. This can improve performance at the
expense of some possible flickering or additional noise.
|
lightmask
| You can use the lightmask keyword argument to pass a light name
pattern to limit the set of lights used to illuminate the hit surface.
This allows the tracing surface to control the lighting of the hit
surface. The "scope:default" value will cause the lightmask
argument to use the default light mask for the current context - as if
the argument were not specified.
..., "lightmask", "hotlights*");
|