webgl test


Work in progress WebGL demo / benchmark thing.

2012/02/26 increase max model count, since browsers are getting fast enough to run 100 models at max frame rate.

2010/10/19, update to work on current browsers: use new generic JS typed arrays (Float32Array, etc) instead of WebGL specific ones, new gl.texImage2D parameters, adjust for stricter shader validation

2010/06 optimized a bit: uses WebGLFloatArrays instead of normal Arrays, try to do less allocation in render loop.

modified 2010/01/07 update to work on chromium, use gl.getProgramParameter instead of gl.getProgrami, uniform locations are objects instead of integers, previous version here

modified 2009/12/04 to use WebGL*Array instead of Canvas*Array, original version is here