Page 1 of 1

Gun textures need to be a power of 2? [Solved]

Posted: Tue Jul 07, 2009 12:53 am
by RogueKnight
I was wondering about this, because I noticed that many of the stock guns don't have textures that are a power of 2.

Re: Gun textures need to be a power of 2?

Posted: Tue Jul 07, 2009 1:06 am
by CodaRez
Darn right they need to be. Mine had errors complaining they werent power of 2 when I randomly sized them.

Not sure bout the stock models though, they could be mixed power of 2s(i.e 512 x 256)

Anyway, custom guns or anything should be power of 2

Re: Gun textures need to be a power of 2?

Posted: Tue Jul 07, 2009 1:06 am
by RepSharpshooter
You mean the ones that are 512x256? (2^9 by 2^8) it doesn't have to be square, just a power of two. The only exception is a cubemap which is a special environmental texture map in the shape of an unwrapped cube.

Re: Gun textures need to be a power of 2?

Posted: Tue Jul 07, 2009 12:39 pm
by RogueKnight
RepSharpshooter wrote:You mean the ones that are 512x256? (2^9 by 2^8) it doesn't have to be square, just a power of two. The only exception is a cubemap which is a special environmental texture map in the shape of an unwrapped cube.
k, that answered my question, thanks Rep.