LNXSDK/Kha/Sources/Shaders/painter-video.vert.glsl

15 lines
279 B
Plaintext
Raw Permalink Normal View History

2025-01-22 16:18:30 +01:00
#version 450
in vec3 vertexPosition;
in vec2 vertexUV;
in vec4 vertexColor;
uniform mat4 projectionMatrix;
out vec2 texCoord;
out vec4 color;
void main() {
gl_Position = projectionMatrix * vec4(vertexPosition, 1.0);
texCoord = vertexUV;
color = vertexColor;
}