Files
SNAKE/res/shaders/cube.vert
2024-05-07 20:32:02 +02:00

13 lines
288 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
layout (location = 1) in vec3 aNormal;
layout (location = 2) in vec2 aTexCoords;
uniform mat4 projection;
uniform mat4 model;
uniform mat4 view;
void main() {
FragPos = vec4(aPos, 1.0);
}