equal
deleted
inserted
replaced
1 // !!!just testing!!! |
1 #version 130 |
2 // This is not GLSL 1.3+ compatible, as its using the compatibility profile! |
2 |
|
3 in vec2 vertex; |
|
4 in vec2 texcoord; |
|
5 in vec4 colors; |
|
6 |
|
7 out vec2 tex; |
|
8 |
3 uniform mat4 mvp; |
9 uniform mat4 mvp; |
4 varying vec4 tint; |
|
5 |
10 |
6 void main() |
11 void main() |
7 { |
12 { |
8 gl_Position = mvp * gl_Vertex; |
13 vec4 p = mvp * vec4(vertex, 0.0f, 1.0f); |
9 gl_TexCoord[0] = gl_MultiTexCoord0; |
14 gl_Position = p; |
10 tint = gl_Color; |
15 tex = texcoord; |
11 } |
16 } |