diff -r 013deb83086b -r 580cd247511e share/hedgewars/Data/Shaders/default.fs --- a/share/hedgewars/Data/Shaders/default.fs Tue Jun 05 22:17:06 2012 +0200 +++ b/share/hedgewars/Data/Shaders/default.fs Tue Jun 05 22:37:36 2012 +0200 @@ -1,9 +1,13 @@ -// !!!just testing!!! -// This is not GLSL 1.3+ compatible, as its using the compatibility profile! +#version 130 + uniform sampler2D tex0; -varying vec4 tint; +uniform vec4 tint; + +in vec2 tex; + +out vec4 color; void main() { - gl_FragColor = texture2D(tex0, gl_TexCoord[0].st) * tint; + color = texture(tex0, tex) * tint; }