Author Topic: Packed Font Purpose  (Read 2257 times)

Daniel Brauer

  • Guest
Packed Font Purpose
« on: June 08, 2012, 10:45:38 AM »
I'm just starting with NGUI, and working my way through the videos to start. I'm confused about the goal with your packed font approach: you are using each channel in a 32-bit texture for 8-bit information, and unpacking it in a shader. What does this get you over using a quadruple-sized 8-bit texture (Alpha8) and using a simpler shader?

PhilipC

  • Guest
Re: Packed Font Purpose
« Reply #1 on: June 08, 2012, 10:58:23 AM »
Using the packed font is more useful for asian languages. The the number of characters that are used by those languages do not fit (at a readable size) in a 2048. So by using the packed font you would be able to have all the characters at a readable size.