Uploaded February 2018 | Updated November 2026, 3 days ago
September 4, 2014
This is using the same technique as the text-rendering video, where we use the 2d Canvas API to do the rendering, and then send the rasterized result to the GPU for storage, transformations, and rendering. We pay a cost at curve creation and update, but other than that it’s very, very cheap (particularly combined with the degenerate triangle technique we use to batch geometry together). It does have the downside that it’s highly resolution-dependent, however I think we can get it to look good by tweaking the settings a bit (perhaps a lot), and it saves us a ton of time over writing the GPU-based rendering code ourselves.
September 4, 2014
This is using the same technique as the text-rendering video, where we use the 2d Canvas API to do the rendering, and then send the rasterized result to the GPU for storage, transformations, and rendering. We pay a cost at curve creation and update, but other than that it’s very, very cheap (particularly combined with the degenerate triangle technique we use to batch geometry together). It does have the downside that it’s highly resolution-dependent, however I think we can get it to look good by tweaking the settings a bit (perhaps a lot), and it saves us a ton of time over writing the GPU-based rendering code ourselves.










