mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
14 lines
279 B
Text
14 lines
279 B
Text
void main ()
|
|
{
|
|
vec4 c_1;
|
|
c_1 = vec4(0.0, 0.0, 0.0, 0.0);
|
|
if (((gl_FragCoord.x > 0.5) && (gl_FragCoord.y > 0.5))) {
|
|
c_1 = vec4(0.5, 0.5, 0.5, 0.5);
|
|
};
|
|
gl_FragColor = c_1;
|
|
}
|
|
|
|
|
|
// stats: 5 alu 0 tex 1 flow
|
|
// inputs: 1
|
|
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0
|