This reduce the number of batch/data needed. Stores a select/visiblee flag inside the vert/loop normals.
9 lines
88 B
GLSL
9 lines
88 B
GLSL
|
|
flat in vec4 finalColor;
|
|
out vec4 fragColor;
|
|
|
|
void main()
|
|
{
|
|
fragColor = finalColor;
|
|
}
|