More cleanup and some overdone comments

This commit is contained in:
Alexander Szpakowski
2013-01-05 15:59:01 -04:00
parent 37191a5953
commit 0968fa6f11
6 changed files with 104 additions and 28 deletions
+8 -5
View File
@@ -1295,22 +1295,24 @@ do
#define Texel texture2D
#define ModelViewMatrix gl_ModelViewMatrix
#define ProjectionMatrix gl_ProjectionMatrix
#define ModelViewProjectionMatrix gl_ModelViewProjectionMatrix
#define NormalMatrix gl_NormalMatrix
#define ExternColor vec4(1.0)
#define VertexColor gl_Color
#define VaryingColor gl_FrontColor
#define VertexTexCoord gl_MultiTexCoord0
#define VaryingTexCoord gl_TexCoord[0]
#define VertexPosition gl_Vertex
#define VaryingColor gl_FrontColor
#define VaryingTexCoord gl_TexCoord[0]
uniform sampler2D _tex0_;
#line 0]],
FOOTER = [[
void main() {
VaryingTexCoord = VertexTexCoord;
VaryingColor = VertexColor * ExternColor;
VaryingColor = VertexColor;
gl_Position = position(ModelViewProjectionMatrix, VertexPosition);
}]],
}
@@ -1325,9 +1327,10 @@ void main() {
#define Texel texture2D
#define ModelViewMatrix gl_ModelViewMatrix
#define ProjectionMatrix gl_ProjectionMatrix
#define ModelViewProjectionMatrix gl_ModelViewProjectionMatrix
#define NormalMatrix gl_NormalMatrix
#define ExternColor vec4(1.0)
#define VaryingColor gl_Color
#define VaryingTexCoord gl_TexCoord[0]