mirror of
https://github.com/bloeys/gopad.git
synced 2025-12-29 06:58:21 +00:00
17 lines
233 B
GLSL
Executable File
17 lines
233 B
GLSL
Executable File
#version 410
|
|
|
|
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, 1);
|
|
} |