Files
loop/shader/dualTwoD/ellipse.vert
T

16 lines
360 B
GLSL

#version 450 core
layout (location = 0) in vec3 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 = vec4(pos,1);
vCol = col;
}