UNLIT
After setting this flag, the entity is not affected anymore by the precomputed
radiance volumes (PRV) from static
light sources. When setting this flag in WED or on entity creation (ent_create)
it also gets automatically the mat_unlit default material assigned,
preventing influence by dynamic lights.
Type:
Flag
Remarks:
- This flag can affect the frame rate. If set, the entity doesn't recalculate
the environment light on each displacement. Setting this
flag can increase the frame rate on levels with a huge number of
moving entities.
- When setting this flag in a script, mat_unlit must
or can be assigned manually.
Example:
my.UNLIT = ON;
set(my,UNLIT);
See also:
lighting, ambient, default
materials
► latest
version online