View Single Post
  #7  
Unread 03-06-2007, 10:59 AM
Frosty's Avatar
Frosty Frosty is offline
Tools and UI Engineer
Interface Author - Click to view interfaces
 
Join Date: Feb 2007
Posts: 177
powers of 2

afaik, your skins can be just the exact dimensions of the surface on the UI.

*pauses*

Ok, I just spoke to our graphics guru.

On some older cards, the textures are expected to be powers of two. However, the engine will read your texture (of whatever size) and place it (internally) on a surface of the correct size and alpha out the "un filled" portions.

On newer graphics cards, the textures can be any sized, so we just use what's read in from disk.

The end result is that you can make your textures the exact size of the image on screen and the engine will handle it automatically.

-P
Reply With Quote