Skip to content

Commit 1c774bb

Browse files
committed
Set r_forceAmbient to -1 by default
This cvar used to have no effect after lightGrid code was moved to GLSL, so disable it by default to keep the lighting the same.
1 parent 647e7fb commit 1c774bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/engine/renderer/tr_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
227227
cvar_t *r_noFog;
228228

229229
Cvar::Range<Cvar::Cvar<float>> r_forceAmbient( "r_forceAmbient", "Minimal light amount in lightGrid; -1 to use map value", Cvar::NONE,
230-
0.125f, -1.0f, 0.3f );
230+
-1.0f, -1.0f, 0.3f );
231231
Cvar::Cvar<float> r_ambientScale( "r_ambientScale", "Scale lightGrid produced by ambientColor keyword by this much", Cvar::CHEAT, 1.0 );
232232
cvar_t *r_lightScale;
233233
cvar_t *r_debugSort;

0 commit comments

Comments
 (0)