Hacker News new | ask | show | jobs
by runlaszlorun 655 days ago
I’m curious what you guys used for generating text. Canvas 2D to a texture?

And congrats. I’ve dabbled a little in trying to use WebGL in places where DOM would the typical choice, and quickly ran away. :)

2 comments

We use msdf textures. Generate them dynamically when people upload fonts. We tried 3 methods, and we're sticking with msdf for now because its very fast.
Don't zoom in too close on the text :)