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

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

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

Post 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.
User avatar
CodaRez
Field Commander
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?

Post 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
RepSharpshooter
Gametoast Staff
Gametoast Staff
Posts: 1351
Joined: Tue Jul 10, 2007 4:10 pm

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

Post 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.
RogueKnight
Space Ranger
Posts: 2512
Joined: Sat Nov 22, 2008 1:50 pm
Projects :: Life. Work.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: Washington, US

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

Post 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.
Post Reply