Added "DontLightActors" flag for dynamic lights. Actors will not be illuminated by lights that are given this flag.

This commit is contained in:
nashmuhandes 2017-03-25 14:59:33 +08:00 committed by Christoph Oelckers
commit 99d1581c27
5 changed files with 25 additions and 4 deletions

View file

@ -488,6 +488,7 @@ static FFlagDef DynLightFlagDefs[] =
DEFINE_FLAG(MF4, DONTLIGHTSELF, ADynamicLight, flags4),
DEFINE_FLAG(MF4, ATTENUATE, ADynamicLight, flags4),
DEFINE_FLAG(MF4, NOSHADOWMAP, ADynamicLight, flags4),
DEFINE_FLAG(MF4, DONTLIGHTACTORS, ADynamicLight, flags4),
};
static FFlagDef PowerSpeedFlagDefs[] =