recrownedgtk/RecrownedGTK/Graphics/Render/Shaders/default.vert
Harrison 519d31f2e1 Another restructure with code updates.
Updated RectTextrue.cs, VertexInformation.cs, and IDrawable.cs to properly pass indice information.
2020-02-20 18:07:17 -05:00

15 lines
247 B
GLSL

#version 330 core
in vec3 aPosition;
in vec2 aTexCoord;
in vec4 aColor;
uniform mat4 transform;
out vec2 texCoord;
out vec4 color;
void main()
{
texCoord = aTexCoord;
color = aColor;
gl_Position = vec4(aPosition, 1.0f) * transform;
}