#version 460 core
layout(location=0) out vec4 whatever;
void main()
{
whatever = vec4(1,0,0,1);
};
also works. so does that mean location 0 is reserved for the color output ? Is there any sentences in the GL specification that describe this topic ? many thanks!