1
0
mirror of synced 2024-12-05 04:17:59 +01:00
Switch-Toolbox/Toolbox/Shader/HDRSkyBox/HDRSkyBox.vert

16 lines
277 B
GLSL

#version 330 core
layout (location = 0) in vec3 aPos;
uniform mat4 projection;
uniform mat4 rotView;
uniform mat4 mtxCam;
out vec3 TexCoords;
void main()
{
TexCoords = aPos;
vec4 clipPos = projection * rotView * vec4(aPos, 1.0);
gl_Position = clipPos.xyww;
}