qt6windows7/tests/manual/qopenglwidget/dockedopenglwidget/vshader.glsl

13 lines
195 B
Plaintext
Raw Normal View History

2023-10-30 06:33:08 +08:00
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;
}