- change per-level attenuation of dynamic lights for each viewpoint.
To avoid unnecessary work, the current state is tracked.
This commit is contained in:
parent
6451b7d592
commit
4af5ea25c1
5 changed files with 16 additions and 7 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue