mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
9 lines
146 B
Text
9 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);
|
|
}
|