4 ms·
Wouldn't "super fast game rendering" be done by the GPU via WebGL?
by bschwindHN 8y ago
Wouldn't "super fast game rendering" be done by the GPU via WebGL?
- ranwired 8y agoA lot of game logic also runs on the CPU
- TazeTSchnitzel 8y agocanvas bitmaps are only useful for rendering though.
- rafaelvasco 8y agoFor 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.
- bschwindHN 8y agoConvenient, 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.