shaders: damage: Flip vertically
parent
222d636bc7
commit
f0fa12425b
|
@ -5,6 +5,6 @@ varying vec2 v_texture;
|
||||||
|
|
||||||
void main()
|
void main()
|
||||||
{
|
{
|
||||||
v_texture = texture;
|
v_texture = vec2(texture.s, 1.0 - texture.t);
|
||||||
gl_Position = vec4(pos, 0, 1);
|
gl_Position = vec4(pos, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue