mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
14 lines
211 B
Text
14 lines
211 B
Text
|
void main ()
|
||
|
{
|
||
|
mediump float f_1;
|
||
|
int i_2;
|
||
|
i_2 = 0;
|
||
|
f_1 = 0.0;
|
||
|
for (int i_2 = 0; i_2 < 32; ) {
|
||
|
f_1 = (f_1 + (gl_FragCoord.x * float(i_2)));
|
||
|
i_2 = (i_2 + 1);
|
||
|
};
|
||
|
gl_FragColor = vec4(f_1);
|
||
|
}
|
||
|
|