1
0
mirror of synced 2024-12-02 02:57:23 +01:00
Switch-Toolbox/Toolbox/Shader/PBR/irradianceShader.vert

13 lines
221 B
GLSL

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