PrusaSlicer-NonPlainar/resources/shaders/140/imgui.vs
Lukas Matena bbd870b26c Sync to c987b4585:
this is needed so we can later ff public/stable (currently at version_2.5.2) to version_2.6.0
2023-03-31 16:50:25 +02:00

17 lines
No EOL
231 B
GLSL

#version 140
uniform mat4 ProjMtx;
in vec2 Position;
in vec2 UV;
in vec4 Color;
out vec2 Frag_UV;
out vec4 Frag_Color;
void main()
{
Frag_UV = UV;
Frag_Color = Color;
gl_Position = ProjMtx * vec4(Position.xy, 0.0, 1.0);
}