Easy question

Started by
2 comments, last by Shark 23 years, 11 months ago
Can a texture be any size? If not, how can I load an image of a specific size, say.... 640x480? thanks!
Advertisement
The texture''s x and y must be powers of two. Scale your textures to a 2^n*2^m size!

Visit our homepage: www.rarebyte.de.st

GA
Visit our homepage: www.rarebyte.de.stGA
You can use non-power of two textures by making them mipmaps. However even on the lowest level the computer will size it to a power of 2 texture.
if u felt that u wanted to uses a non 2^n*2^m size! texture you caould always uses subtexture which doesnt care bout the size and is faster or so says the red book than actually doing a normal texture

This topic is closed to new replies.

Advertisement