OpenGL2: Add r_glossIsRoughness.
This commit is contained in:
1 parent
92d4b20129
commit
b52ede0445
6 files changed
+76
-26
No files matched your search
@@ -1025,6 +1025,9 @@ void GLSL_InitGPUShaders(void)
|
||||
if (r_specularIsMetallic->value)
|
||||
Q_strcat(extradefines, 1024, "#define SPECULAR_IS_METALLIC\n");
|
||||
|
||||
if (r_glossIsRoughness->value)
|
||||
Q_strcat(extradefines, 1024, "#define GLOSS_IS_ROUGHNESS\n");
|
||||
|
||||
if (r_dlightMode->integer >= 2)
|
||||
Q_strcat(extradefines, 1024, "#define USE_SHADOWMAP\n");
|
||||
|
||||
|
||||
Reference in new issue
Block a user