mirror of
https://github.com/4sval/FModel.git
synced 2026-04-19 16:17:44 -05:00
18 lines
301 B
GLSL
18 lines
301 B
GLSL
#version 330
|
|
|
|
layout (location = 0) in vec2 Position;
|
|
layout (location = 1) in vec2 UV;
|
|
layout (location = 2) in vec4 Color;
|
|
|
|
uniform mat4 ProjMtx;
|
|
|
|
out vec2 Frag_UV;
|
|
out vec4 Frag_Color;
|
|
|
|
void main()
|
|
{
|
|
Frag_UV = UV;
|
|
Frag_Color = Color;
|
|
gl_Position = ProjMtx * vec4(Position.xy,0,1);
|
|
}
|