Re:Show HN: WebGL Sprites Benchmark
by eduardo-costa on Tuesday September 01, 2015 @11:43AM
(#10153149)
Chrome 44.
The trick is to create 1 Mesh with 300.000 or more planes and render all stuff once.
I pass the x,y data to a texture and sample it in the shader.
FF nightly 2015-08-31 24fps
chrome 44.0.2403.157 (64bit) 26fps
MS Edge 20.10240.16384.0 30-33fps
(i7-4770k igfx)
The differences weren't visually very apparent. None of the browsers seemed to have periodic GC lag, which in the past certainly was an issue.
I'm curious: which browser did you develop this with/optimize on?