Page 1 of 1

tga???

Posted: Tue Apr 06, 2010 1:32 am
by HJGF
can i use a tga file as a texture?

Re: tga???

Posted: Tue Apr 06, 2010 4:26 am
by fo0k
have you tried? :)

I would have thought its possible.. the engine certainly reads tga's

Re: tga???

Posted: Tue Apr 06, 2010 4:01 pm
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. ;)

Re: tga???

Posted: Tue Apr 06, 2010 4:11 pm
by HJGF
ty buddy btw hows the bfheroes mod?

Re: tga???

Posted: Tue Apr 06, 2010 4:18 pm
by Apache Thunder
Working on porting the tanks right now. But that's a bit offtopic here. :P