Gun textures need to be a power of 2? [Solved]
Moderator: Moderators
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Gun textures need to be a power of 2? [Solved]
I was wondering about this, because I noticed that many of the stock guns don't have textures that are a power of 2.
- CodaRez
- Field Commander

- Posts: 940
- Joined: Mon May 25, 2009 6:49 am
- Projects :: I would like one.....
- Location: Ride around the world! And I won't give you anything :P
Re: Gun textures need to be a power of 2?
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
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
-
RepSharpshooter
- Gametoast Staff

- Posts: 1351
- Joined: Tue Jul 10, 2007 4:10 pm
Re: Gun textures need to be a power of 2?
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.
-
RogueKnight
- Space Ranger
- Posts: 2512
- Joined: Sat Nov 22, 2008 1:50 pm
- Projects :: Life. Work.
- xbox live or psn: No gamertag set
- Location: Washington, US
Re: Gun textures need to be a power of 2?
k, that answered my question, thanks Rep.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.
