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:
SmileTheory committed 2015-12-15 03:23:55 -08:00
1 parent c07cc282d0
commit cbfc3471bc
6 files changed
+181 -115

No files matched your search

+1 -1
View File
@@ -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)