mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
10 lines
146 B
Text
10 lines
146 B
Text
|
void main() {
|
||
|
float a = 0.0;
|
||
|
int k = 0;
|
||
|
for (int i = 0; i < 3; ++i)
|
||
|
a += 1.0;
|
||
|
for ( ; k < 3; ++k)
|
||
|
a += 3.0;
|
||
|
gl_FragColor = vec4(a);
|
||
|
}
|