Add r_parallaxMapShadows.

This commit is contained in:
James Canete 2019-02-06 01:10:42 -08:00
parent e5da13f146
commit d068e1dce1
5 changed files with 54 additions and 1 deletions

View file

@ -1122,6 +1122,9 @@ void GLSL_InitGPUShaders(void)
Q_strcat(extradefines, 1024, "#define USE_PARALLAXMAP\n");
if (r_parallaxMapping->integer > 1)
Q_strcat(extradefines, 1024, "#define USE_RELIEFMAP\n");
if (r_parallaxMapShadows->integer)
Q_strcat(extradefines, 1024, "#define USE_PARALLAXMAP_SHADOWS\n");
}
}