mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-04 21:31:11 -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);
|
||
|
}
|