Add r_parallaxMapOffset.
This commit is contained in:
parent
66cb20a7f3
commit
69ec389335
5 changed files with 14 additions and 0 deletions
|
@ -1125,6 +1125,8 @@ void GLSL_InitGPUShaders(void)
|
|||
|
||||
if (r_parallaxMapShadows->integer)
|
||||
Q_strcat(extradefines, 1024, "#define USE_PARALLAXMAP_SHADOWS\n");
|
||||
|
||||
Q_strcat(extradefines, 1024, va("#define r_parallaxMapOffset %f\n", r_parallaxMapOffset->value));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue