forked from LeenkxTeam/LNXSDK
15 lines
295 B
Plaintext
15 lines
295 B
Plaintext
|
#version 450
|
||
|
|
||
|
in vec3 vertexPosition;
|
||
|
in vec2 vertexUV;
|
||
|
in vec4 vertexColor;
|
||
|
uniform mat4 projectionMatrix;
|
||
|
out vec2 texCoord;
|
||
|
out vec4 fragmentColor;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = projectionMatrix * vec4(vertexPosition, 1.0);
|
||
|
texCoord = vertexUV;
|
||
|
fragmentColor = vertexColor;
|
||
|
}
|