Files
vb01/skybox.vert
T
devZoGok 9479e3324f implemented shadows for non positional lights
fixed skybox
implemented translation and rotation
2021-10-18 19:05:52 +03:00

14 lines
184 B
GLSL
Executable File

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