mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
8 lines
137 B
Text
8 lines
137 B
Text
|
void main() {
|
||
|
vec2 c = vec2(0.0);
|
||
|
for (int j = 0; j < 2; ++j) {
|
||
|
c += abs (vec2(vec2(0.0)[j]));
|
||
|
}
|
||
|
gl_FragColor = vec4(c,0.0,0.0);
|
||
|
}
|