View Full Version : non-square image loading
07-13-2004, 02:04 PM
im trying to make a demo and its somewhat annoying having to make every texture a square, i have seen demos with non square textures, how is this done?
07-13-2004, 05:56 PM
You can make your texture non-squaure so long as both sides are powers of two (e.g., 64x256). Alternately, if you want to make a 13x7 texture, for example, you could make a 16x8 texture and put the 13x7 data into it, then be careful about your texture coordinates so you only use the valid part of that texture.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.