Add r_parallaxMapShadows.
This commit is contained in:
1 parent
e5da13f146
commit
d068e1dce1
5 files changed
+54
-1
No files matched your search
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user