shadow_mode

Gives the trace mode for every entities' tracing downwards in order to find its PRV plane and environment brightness, as well as the position of a decal shadow.

Range:

See trace mode. Default: IGNORE_SPRITES+ IGNORE_PASSENTS+IGNORE_PASSABLE

Type:

var

Example:

// prevent shadows on top of models below the player
shadow_mode |= IGNORE_MODELS;

See also:

c_trace, shadow_threshold, shadow_range, shadow_stencil

► latest version online