13
« on: January 03, 2013, 12:50:22 PM »
Hi all!
Not sure if this is a NGUI or a bmFont-question, but I hope somebody is able to help me.
I have 3 different atlases, one SD (512x512), one HD (1024x1024) and one SHD (2048,2048).
Im using my reference-atlas to switch between them, and this works great for the sprites.
My problem is my fonts. They are on my atlas, and when I made them in bmFont i used the SHD resolution.
I use unitys importer to make the smaller SD & HD copy of my atlas texture (by setting max size).
My fonts works on the SHD atlas, since the font textfile is made from that size.
But when i switch to the HD or SD version unity tries to read from the same area on the atlas as on the SHD, which causes a mess.
Is it any way to make the font to use texture coordinates instead of pixel values? as the sprites on the atlas does? Or how do you guys solve this?
Thanks again for support!