Skip to content

Commit 4c90dfa

Browse files
committed
Disable rim lighting (r_rimLighting) by default
"Rim lighting" purports to make the edges of models stand out. However in my tests, I don't see a very strong correlation between the parts which are lit up and the edges of models. For more geometrically complex models such as the Barricade, it sometimes randomly lightens the model all over the place, which looks bad.
1 parent 0f79288 commit 4c90dfa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/engine/renderer/tr_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1263,7 +1263,7 @@ ScreenshotCmd screenshotPNGRegistration("screenshotPNG", ssFormat_t::SSF_PNG, "p
12631263
Cvar::Latch( r_cubeProbeSpacing );
12641264

12651265
r_halfLambertLighting = Cvar_Get( "r_halfLambertLighting", "1", CVAR_LATCH | CVAR_ARCHIVE );
1266-
r_rimLighting = Cvar_Get( "r_rimLighting", "1", CVAR_LATCH | CVAR_ARCHIVE );
1266+
r_rimLighting = Cvar_Get( "r_rimLighting", "0", CVAR_LATCH | CVAR_ARCHIVE );
12671267
r_rimExponent = Cvar_Get( "r_rimExponent", "3", CVAR_CHEAT | CVAR_LATCH );
12681268
AssertCvarRange( r_rimExponent, 0.5, 8.0, false );
12691269

0 commit comments

Comments
 (0)