Files
2025-11-02 19:20:57 +00:00

16 lines
361 B
GLSL

#version 450 core
layout (location = 0) in vec4 posID;
layout (location = 1) in vec4 col;
layout (location = 2) in vec4 controls;
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
out vec4 vPosID;
out vec4 vCol;
out vec4 vControls;
void main()
{
gl_Position = theMat * vec4(posID.xyz,1);
vPosID = posID;
vCol = col;
vControls = controls;
}