mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 20:43:09 +00:00
13 lines
No EOL
221 B
GLSL
13 lines
No EOL
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);
|
|
} |