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:
parent
c07cc282d0
commit
cbfc3471bc
6 changed files with 181 additions and 115 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue