LearnOpenGL/Shaders/HDRMap.vs

12 lines
214 B
Plaintext
Raw Permalink Normal View History

2023-06-02 16:01:45 +00:00
#version 460 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);
}