阅读背景:

WebGL中批量调用的最快方法

来源:互联网 

I'm trying to rewrite my canvas-based rendering for my 2d game engine. I've made good progress and can render textures to the webgl context fine, complete with scaling, rotation and blending. But my performance sucks. On my test laptop, I can get 30 fps in vanilla 2d canvas with 1,000 entities on screen at once; in WebGL, I get 30 fps with 500 entities on screen. I'd expect the situation to be reverse!I'm trying to rewrite my canvas-based rendering




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: