13 lines
195 B
GLSL
13 lines
195 B
GLSL
#version 450
|
|
|
|
layout(location = 0) out vec4 FragColor;
|
|
layout(location = 0) in vec4 vA;
|
|
layout(location = 1) in float vB;
|
|
|
|
void main()
|
|
{
|
|
FragColor = round(vA);
|
|
FragColor *= round(vB);
|
|
}
|
|
|