light_view

The view used for determining the dynamic lights that are taken into account when rendering. Dynamic point and spot lights with a range outside this view's frustum don't influence lighting and shadowing. If a self-defined view is used for rendering the level instead of the default camera view, this pointer must be set to the view. Set the pointer at NULL when dynamic lights must not be clipped, for instance when the level is rendered with several different views on a multi-monitor system.

Type:

VIEW* (default = camera)

Example:

light_view = NULL; // do not clip dynamic lights

See also:

Lighting, VIEW, max_lights

► latest version online