Add r_parallaxMapShadows.

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

No files matched your search

+3
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");
}
}