3 ms·
IMHO Depends on the use case: - If glyph sizes are known ahead-of-time. Then use character atlas, generated either with CPU things or GPU things. This can be o
by dmytroi 8y ago
IMHO Depends on the use case:
- If glyph sizes are known ahead-of-time. Then use character atlas, generated either with CPU things or GPU things. This can be optimized for power consumption.
- Glyph sizes are not known, or text is animated (rotation, etc). In this case Distance Fields are a good trade-off, as their shader is fairly trivial, hence battery consumption should be quite good. On another hand runtime vectorization is viable only if you have a good GPU and connected to the power outlet.