2bdc165572
Poseable is not a struct because it has a vtable. This means that it cannot be used easily with glVertexAttribPointer. This quick fix should be overwritten by a full fix that stores the matrix data in a seperate vector and modifies the matrices with poseable interfaces. (Will go into more detail in that commit.)
8 lines
104 B
GLSL
8 lines
104 B
GLSL
#version 430
|
|
in vec4 fragment_color;
|
|
|
|
out vec4 frag_color;
|
|
void main()
|
|
{
|
|
frag_color = fragment_color;
|
|
} |