UltimateZoneBuilder/Source/Core/Resources/things2d.vp

17 lines
218 B
Text
Raw Normal View History

2019-09-29 16:57:51 +00:00
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);
2019-09-29 16:57:51 +00:00
Color = AttrColor;
UV = AttrUV;
}