qt6windows7/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl
2023-10-29 23:33:08 +01:00

13 lines
195 B
GLSL

uniform mat4 mvp_matrix;
attribute vec4 a_position;
attribute vec2 a_texcoord;
varying vec2 v_texcoord;
void main()
{
gl_Position = mvp_matrix * a_position;
v_texcoord = a_texcoord;
}