mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
More cleanup and some overdone comments
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user