+ Generic Scene + Generic Camera + Generic Window + Contexts for drawing and updateing + very basic 2D-implermention
9 lines
No EOL
162 B
GLSL
9 lines
No EOL
162 B
GLSL
#version 330
|
|
layout(location = 0) in vec3 aPos;
|
|
|
|
uniform mat4 MVP;
|
|
uniform mat4 ModelMatrix;
|
|
|
|
void main() {
|
|
gl_Position = MVP * ModelMatrix * vec4(aPos, 1);
|
|
} |