17.09.2020

+ Generic Scene
+ Generic Camera
+ Generic Window
+ Contexts for drawing and updateing

+ very basic 2D-implermention
This commit is contained in:
Michel Fedde 2020-09-17 21:28:16 +02:00
parent 9889366317
commit 589d131246
25 changed files with 383 additions and 78 deletions

View file

@ -0,0 +1,8 @@
#version 330
uniform vec4 Tint;
layout(location = 0) out vec4 color;
void main() {
color = vec4(1,1,1,1) + Tint;
}

View file

@ -0,0 +1,9 @@
#version 330
layout(location = 0) in vec3 aPos;
uniform mat4 MVP;
uniform mat4 ModelMatrix;
void main() {
gl_Position = MVP * ModelMatrix * vec4(aPos, 1);
}