This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
Wotos-mpv/res/shaders/img_vs.glsl
2023-01-07 12:49:22 +01:00

14 lines
266 B
GLSL

#version 300 es
precision mediump float;
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec2 aTexCoords;
out vec2 TexCoords;
uniform mat4 transformation;
void main()
{
gl_Position = transformation * vec4(aPos, 1.0);
TexCoords = aTexCoords;
}