UltimateZoneBuilder/Source/Core/Resources/display2d.vp
2019-12-21 01:34:51 +01:00

16 lines
218 B
Text

in vec3 AttrPosition;
in vec4 AttrColor;
in vec2 AttrUV;
out vec4 Color;
out vec2 UV;
uniform mat4 projection;
void main()
{
gl_Position = projection * vec4(AttrPosition, 1.0);
Color = AttrColor;
UV = AttrUV;
}