the shader version is the fastest, but looks like modern art on my smartphone.
Like someone scribbled the colors over the circles instead of filling them.
Like someone scribbled the colors over the circles instead of filling them.
It declares that floats should only be medium precision by default, but those precision specifiers are only followed on mobile platforms.
Desktop WebGL implementations just promote everything to high precision so that kind of bug is invisible until you test on mobile.
0: https://www.scratchapixel.com/lessons/3d-basic-rendering/int...