mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
17 lines
224 B
GLSL
17 lines
224 B
GLSL
|
#version 460
|
||
|
|
||
|
in vec2 aPos;
|
||
|
in vec2 aUV;
|
||
|
in vec4 aColor;
|
||
|
uniform mat4 projectionMatrix;
|
||
|
|
||
|
out vec4 Color;
|
||
|
out vec2 UV;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
Color = aColor;
|
||
|
UV = aUV;
|
||
|
gl_Position = projectionMatrix * vec4(aPos, 0, 1);
|
||
|
}
|