mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 17:18:12 -05:00
15 lines
188 B
Text
15 lines
188 B
Text
|
varying lowp float xx;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
int i = 0;
|
||
|
|
||
|
if (xx < 0.0)
|
||
|
discard;
|
||
|
|
||
|
lowp float c = 0.0;
|
||
|
for (; i < 4; ++i)
|
||
|
c += xx;
|
||
|
gl_FragColor = vec4(c);
|
||
|
}
|