[Android] More GLES3 things. Disable Framedumping and MSAA rendering. Remove the HLSL->GLSL shader defines since Qualcomm doesn't support this in their shader compiler. Now they get chosen in our shader generator instead.

This commit is contained in:
Ryan Houdek
2013-05-06 06:43:04 -05:00
parent 5ac58a34ea
commit 0247b2a97a
5 changed files with 42 additions and 32 deletions

View File

@ -213,7 +213,7 @@ char *GenerateLightingShader(char *p, int components, const char* materialsName,
p = GenerateLightShader(p, i, workingchannel, lightsName, coloralpha);
}
}
WRITE(p, "%s%d = mat * saturate(lacc);\n", dest, j);
WRITE(p, "%s%d = mat * clamp(lacc, 0.0, 1.0);\n", dest, j);
WRITE(p, "}\n");
}