Game Development Community

My texture is crashing the engine?

by Dallin Wellington · in Torque Game Engine · 09/23/2007 (9:47 pm) · 3 replies

Ok so when i dont add the texture of my gun to the folder it runs but my gun is untextured but when i put the texture in the folder it crashes, here is the error i get:
GBitmap::GBitmap: in order to extrude miplevels, bitmap w/h must be pow2


Thanks in advance

#1
09/23/2007 (10:09 pm)
Hi

Your texture must be a power of 2 in pixel size:

256x256 or 512x512 or 1024x1024 etc
#2
09/24/2007 (7:39 am)
... but not necessarily square, right?

i.e. 128x256 is fine?
#3
09/24/2007 (8:31 am)
Aye thats fine