Skip to content

Commit

Permalink
set to 0 some cvars related to dyn lights otherwise make lights disap…
Browse files Browse the repository at this point in the history
…pear in the level

Selaco with dyn lights is a must and performance is not concern for now, lets make it pretty!
  • Loading branch information
emawind84 committed Jun 13, 2024
1 parent 9cfaccd commit 5fd3345
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/playsim/a_dynlight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ static FRandom randLight;
CVAR(Float, gl_light_max_intensity, 1000.0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Float, gl_light_distance_cull, 2000.0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_max_collected_subsectors, 1000, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_flat_max_lights, 1000, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_wall_max_lights, 1000, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_range_limit, 64, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_flat_max_lights, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_wall_max_lights, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);
CVAR(Int, gl_light_range_limit, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG);

extern TArray<FLightDefaults *> StateLights;

Expand Down

0 comments on commit 5fd3345

Please sign in to comment.