mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 13:34:07 +00:00
ajout de lwjgl et joml
This commit is contained in:
13
res/shaders/cube.vert
Normal file
13
res/shaders/cube.vert
Normal file
@@ -0,0 +1,13 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user