Load bumpmaps even if its just specular effects that are going to benefit.

This commit is contained in:
Shpoike 2023-01-24 05:50:36 +00:00
parent 354fbb2a85
commit 45df6806c2

View file

@ -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