mirror of
https://github.com/IllusionMan1212/cudoku.git
synced 2026-10-24 18:12:25 +00:00
12 lines
232 B
GLSL
12 lines
232 B
GLSL
#version 330 core
|
|
layout (location = 0) in vec3 aPos;
|
|
layout (location = 1) in vec2 aTexCoords;
|
|
out vec2 texCoords;
|
|
|
|
uniform mat4 projection;
|
|
|
|
void main() {
|
|
gl_Position = projection * vec4(aPos, 1.0f);
|
|
texCoords = aTexCoords;
|
|
}
|