Thursday, August 30, 2007

Material problems

Previous screenshots shows 'stats' overlay graphics a bit garbled, and I couldn't figure out why.  The graphics were present, and loading according to the log.  They sometimes were showing up looking like other material.  Then I noticed that the size of the loaded graphics were different from the actual pixel size of the .png file.  For example:

22:51:43: Texture: GUI_JP_DIST.png: Loading 1 faces(PF_R8G8B8A8,128x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.

But, the .png file is actually 96x24 pixels.  By resizing the .png to 128x32, it works fine now.



No comments: