Load bumpmaps even if its just specular effects that are going to benefit.
This commit is contained in:
parent
354fbb2a85
commit
45df6806c2
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue