Files
vb01/skybox.vert
devZoGok 3193c61036 flag whether to load primitive mesh or image data to the GPU
outsourced cubemap generation
materials can have nonuniform properties
recreating skyboxes
2026-06-27 20:04:38 +03:00

14 lines
194 B
GLSL
Executable File

#version 330 core
layout (location = 0) in vec3 aPos;
out vec3 texCoords;
uniform mat4 projView;
void main(){
texCoords = aPos;
vec4 pos = projView * vec4(aPos, 1);
gl_Position = pos;
}