Files
vb01/Shaders/environmentPreFilter.vert
T
2026-05-03 18:26:39 +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);
}