mirror of
https://github.com/ApfelTeeSaft/vb01.git
synced 2026-08-26 19:33:45 +00:00
14 lines
190 B
GLSL
14 lines
190 B
GLSL
#version 330 core
|
|
|
|
layout (location = 0) in vec3 aPos;
|
|
|
|
out vec3 fragPos;
|
|
|
|
uniform mat4 proj;
|
|
uniform mat4 view;
|
|
|
|
void main(){
|
|
fragPos = aPos;
|
|
gl_Position = proj * view * vec4(aPos, 1);
|
|
}
|