17 ms·
Yes? We know how to write scanline renderers for 2D graphics. They're not that hard, a simple one can be done in ~100 lines of code or so, see my article here h
by Jasper_ 6y ago
Yes? We know how to write scanline renderers for 2D graphics. They're not that hard, a simple one can be done in ~100 lines of code or so, see my article here https://magcius.github.io/xplain/article/rast1.html https://magcius.github.io/xplain/article/rast1.html
- slmjkdbtl 6y agoTanks for the amazing article! I wonder if you met any performance annoyances / bottlenecks when doing actual GUI / game dev with this?
- iainmerrick 6y agoYou just need to render your font on the CPU once, and upload mipmaps to the GPU (either signed distance fields, or just sharpened textures, that works absolutely fine too). I think all this GPU font rendering stuff is a bit of a red herring. Are any popular apps or games actually making heavy use of it?
- olau 6y agoEnjoyable article, thanks!