changeset 7188 | 580cd247511e |
parent 7129 | 0ce4f478ea6c |
child 11317 | 62287d4044e7 |
7186:013deb83086b | 7188:580cd247511e |
---|---|
1 // !!!just testing!!! |
1 #version 130 |
2 // This is not GLSL 1.3+ compatible, as its using the compatibility profile! |
2 |
3 uniform sampler2D tex0; |
3 uniform sampler2D tex0; |
4 varying vec4 tint; |
4 uniform vec4 tint; |
5 |
|
6 in vec2 tex; |
|
7 |
|
8 out vec4 color; |
|
5 |
9 |
6 void main() |
10 void main() |
7 { |
11 { |
8 gl_FragColor = texture2D(tex0, gl_TexCoord[0].st) * tint; |
12 color = texture(tex0, tex) * tint; |
9 } |
13 } |