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

13 lines
221 B
GLSL
Raw Normal View History

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