Fixes and optimizations to vertex decoding and lighting.

Motorcycles are now visible in MotoGP.
This commit is contained in:
Henrik Rydgard
2012-11-16 15:16:14 +01:00
parent 2bed15f122
commit e5c6cf965b
11 changed files with 308 additions and 327 deletions
-1
View File
@@ -60,7 +60,6 @@ char *GenerateVertexShader()
#endif
int lmode = gstate.lmode & 1;
lmode = 0; // TODO: support separate specular
WRITE("attribute vec4 a_position;");
WRITE("attribute vec2 a_texcoord;");