added all project files

This commit is contained in:
Hannes
2018-03-27 20:27:54 +02:00
parent 528797d9de
commit 2fffd4b7c4
53 changed files with 2064 additions and 0 deletions

14
shaders/cubemap.vs.glsl Normal file
View File

@@ -0,0 +1,14 @@
#version 330
layout(location = 0) in vec3 position;
layout(location = 1) in vec3 texturePos;
out vec3 texCoord;
uniform mat4 CameraMatrix;
uniform mat4 ModelMatrix;
void main() {
gl_Position = CameraMatrix * ModelMatrix * vec4(position, 1.0);
texCoord = vec3(texturePos.x, -texturePos.y, texturePos.z);
}