1
0
mirror of synced 2024-12-04 20:08:00 +01:00
Switch-Toolbox/Switch_Toolbox/Shader/HDRSkyBox/HDRSkyBox.vert
KillzXGaming dbb73d165e Add tool
2018-11-11 20:01:21 -05:00

15 lines
256 B
GLSL

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