TGA file format
Howdy...
I am trying to load a texture file into my mod, and it's just showing up as a bright green box. Do I have to save the TGA in a certain format? I have tried saving it as 16 and 32 bit, both compressed and uncompressed. Any help is much appreciated :) |
What dimensions? Did you remember to save your alpha channel? Verify the file path you're saving to and calling from.
|
The green box is gone. It must have not been finding it. Now it just shows nothing.
Here is the code for the texture... Code:
I must doing something wrong :) |
Dimensions?
|
The image itself is 215 wide by 300 high.
But the texture "Frame" is different... 133x179... as you can see below. Code:
<Frame name="$parentTexture1"> |
And there's your problem right there. The image itself can be whatever size you want, but the file MUST be a factor of 2, and no larger than 512 x 512.
|
Quote:
|
Dang... still not working...
The dimensions of the image are the same as the frame 214x300. Saving as alpha channels as 16 bit compressed. Code:
<Frames> |
214x300 is not power of two.
2x2 4x4 8x8 16x16 32x32 64x64 128x128 256x256 512x512 or any combination thereof 8x64 512x32 etc. |
Oh ... lol
Thought you meant divisible :) Thanks again. |
All times are GMT -6. The time now is 05:54 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI