From 45df6806c28ac3b688416a8012dbbd971e918564 Mon Sep 17 00:00:00 2001 From: Shpoike Date: Tue, 24 Jan 2023 05:50:36 +0000 Subject: [PATCH] Load bumpmaps even if its just specular effects that are going to benefit. --- engine/client/r_surf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/client/r_surf.c b/engine/client/r_surf.c index dbc8426a6..0ad032fcd 100644 --- a/engine/client/r_surf.c +++ b/engine/client/r_surf.c @@ -4098,7 +4098,10 @@ TRACE(("dbg: Surf_NewMap: tp\n")); void Surf_PreNewMap(void) { + extern cvar_t gl_specular; + r_loadbumpmapping = r_deluxemapping || r_glsl_offsetmapping.ival; + r_loadbumpmapping |= gl_specular.value>0; #ifdef RTLIGHTS r_loadbumpmapping |= r_shadow_realtime_world.ival || r_shadow_realtime_dlight.ival; #endif