Files
vb01/environmentPreFilter.vert
T
2021-12-01 19:58:44 +02:00

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);
}