texture on HUD is now drawn correctly

This commit is contained in:
Nicole Dresselhaus 2014-04-22 16:35:17 +02:00
parent a1389ba524
commit 7575521e4d

View File

@ -6,6 +6,6 @@ varying vec2 texcoord;
void main()
{
vec4 map = texture2D(tex[0], texcoord);
vec4 hud = texture2D(tex[1], texcoord);
vec4 hud = texture2D(tex[1], vec2(texcoord.x,-texcoord.y));
gl_FragColor = vec4(mix(map.rgb,hud.rgb,hud.a),1.0);
}