Revert AB for HW transform until find a better fix

This commit is contained in:
raven02 2013-01-12 08:24:05 +08:00
parent 3a6246eae7
commit 908e4ecabf

View File

@ -338,7 +338,7 @@ void GenerateVertexShader(int prim, char *buffer) {
if (hasColor) {
WRITE(p, " v_color0 = a_color0;\n");
} else {
WRITE(p, " v_color0 += vec4(u_matambientalpha.rgb, 0.0);\n");
WRITE(p, " v_color0 = u_matambientalpha;\n");
}
if (lmode)
WRITE(p, " v_color1 = vec3(0.0, 0.0, 0.0);\n");