mirror of
https://github.com/SangeloDev/SangeFault.git
synced 2024-11-13 00:52:43 +00:00
a50683c84e
basically starting over... this is gonna be fun!
18 lines
277 B
GLSL
18 lines
277 B
GLSL
#version 150
|
|
|
|
in vec3 Position;
|
|
in vec2 UV;
|
|
in vec4 Color;
|
|
|
|
uniform mat4 ModelViewMat;
|
|
uniform mat4 ProjMat;
|
|
|
|
out vec2 texCoord;
|
|
out vec4 vertexColor;
|
|
|
|
void main() {
|
|
gl_Position = ProjMat * ModelViewMat * vec4(Position, 1.0);
|
|
|
|
texCoord = UV;
|
|
vertexColor = Color;
|
|
}
|