forked from LeenkxTeam/LNXSDK
12 lines
233 B
GLSL
12 lines
233 B
GLSL
#version 450
|
|
|
|
in vec3 vertexPosition;
|
|
in vec4 vertexColor;
|
|
uniform mat4 projectionMatrix;
|
|
out vec4 fragmentColor;
|
|
|
|
void main() {
|
|
gl_Position = projectionMatrix * vec4(vertexPosition, 1.0);
|
|
fragmentColor = vertexColor;
|
|
}
|