3 ms·
> We already know that SDF textures are better than straight texture atlases anyway. This is isn't true. SDF textures can be "better" for "some" applications (
by armitron 11y ago
> We already know that SDF textures are better than straight texture atlases anyway.
This is isn't true. SDF textures can be "better" for "some" applications (like games that want to display stencils mostly
at arbitrary zoom levels without losing a lot of quality) but they're also visibly lower-quality compared to glyphs rendered by freetype at each one of these zoom levels.
So, for an application that simply displays lots of text while infrequently changing the glyph size, SDF textures are not a good solution.
- CyberDildonics 11y agoYou are essentially saying that an SDF texture isn't as good as a freetype glyph rendered at the resolution it is being displayed at. If you don't have to change the zoom of what you are looking at you don't have to use a texture at all, you can just use the pixels from the freetype vector render directly.