mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
8 lines
144 B
Text
8 lines
144 B
Text
|
void main() {
|
||
|
int i = 0;
|
||
|
float f = 0.0;
|
||
|
for (; i < 32; (++i))
|
||
|
f += gl_FragCoord.x * float(i);
|
||
|
gl_FragColor = vec4(f);
|
||
|
}
|