Files
loop/shader/dualTwoD/ellipse.vert
T
2025-11-20 17:02:05 +00:00

16 lines
352 B
GLSL

#version 450 core
layout (location = 0) in vec4 pos;
layout (location = 1) in vec4 col;
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
out vec4 vCol;
//const int ks[6] = //
// {0,1,2 // 2--3
// ,2,1,3 // | |
// }; // 0--1
// //
void main()
{
gl_Position = pos;
vCol = col;
}