- change per-level attenuation of dynamic lights for each viewpoint.

To avoid unnecessary work, the current state is tracked.
This commit is contained in:
Christoph Oelckers 2019-01-29 20:09:06 +01:00
commit 4af5ea25c1
5 changed files with 16 additions and 7 deletions

View file

@ -1552,8 +1552,6 @@ void FLevelLocals::Init()
brightfog = info->brightfog < 0? gl_brightfog : !!info->brightfog;
lightadditivesurfaces = info->lightadditivesurfaces < 0 ? gl_lightadditivesurfaces : !!info->lightadditivesurfaces;
notexturefill = info->notexturefill < 0 ? gl_notexturefill : !!info->notexturefill;
FLightDefaults::SetAttenuationForLevel();
}
//==========================================================================