Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Wouldn't "super fast game rendering" be done by the GPU via WebGL?


For 2D games it's much more convenient to pixel push directly than to deal with vertex buffers, index buffers, shaders... Unfortunately graphics cards are not optimized for that scenario.


Convenient, but "super fast"?

And though it's a matter of opinion, I disagree. The GPU is easier for me to use for things like screen-space shading, alpha blending, sprite transformations and distortions, and it all performs much faster than the equivalent CPU render code.


A lot of game logic also runs on the CPU


canvas bitmaps are only useful for rendering though.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: