tga???

Ask questions, discuss ideas, get answers
Post Reply
User avatar
HJGF
Posts: 233
Joined: Fri Feb 05, 2010 10:28 pm

tga???

Post by HJGF »

can i use a tga file as a texture?
Image
Image
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: tga???

Post by fo0k »

have you tried? :)

I would have thought its possible.. the engine certainly reads tga's
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: tga???

Post by Apache Thunder »

Yes I think you can, but you have to turn off mipmaps for the geometry or the texture won't load (will end up with default gray texture instead"

try using this:

Code: Select all

textureManager.useMipmaps 0

rem Your geometry template here

textureManager.useMipmaps 1
Be sure to put the last part in. It turns mipmaps back on. Failure to do so could result in broken water textures and other anomalies. ;)
ImageImageImage
I have cameras in your head!
User avatar
HJGF
Posts: 233
Joined: Fri Feb 05, 2010 10:28 pm

Re: tga???

Post by HJGF »

ty buddy btw hows the bfheroes mod?
Image
Image
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: tga???

Post by Apache Thunder »

Working on porting the tanks right now. But that's a bit offtopic here. :P
ImageImageImage
I have cameras in your head!
Post Reply