OpenGL2: Switch to RGTC from LATC for normal maps.
Also added a RGTC compressor as a workaround on Intel graphics.
This commit is contained in:
1 parent
c07cc282d0
commit
cbfc3471bc
6 files changed
+181
-115
No files matched your search
@@ -1031,7 +1031,7 @@ void GLSL_InitGPUShaders(void)
|
||||
if (r_dlightMode->integer >= 2)
|
||||
Q_strcat(extradefines, 1024, "#define USE_SHADOWMAP\n");
|
||||
|
||||
if (1)
|
||||
if (glRefConfig.swizzleNormalmap)
|
||||
Q_strcat(extradefines, 1024, "#define SWIZZLE_NORMALMAP\n");
|
||||
|
||||
if (r_hdr->integer && !glRefConfig.floatLightmap)
|
||||
|
||||
Reference in new issue
Block a user