shaders: damage: Flip vertically

shader-damage-experiments
Andri Yngvason 2020-03-27 19:32:30 +00:00
parent 222d636bc7
commit f0fa12425b
1 changed files with 1 additions and 1 deletions

View File

@ -5,6 +5,6 @@ varying vec2 v_texture;
void main()
{
v_texture = texture;
v_texture = vec2(texture.s, 1.0 - texture.t);
gl_Position = vec4(pos, 0, 1);
}