Add r_parallaxMapOffset.

This commit is contained in:
James Canete 2021-07-05 21:59:20 -07:00
parent 66cb20a7f3
commit 69ec389335
5 changed files with 14 additions and 0 deletions

View file

@ -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));
}
}