|
|
|
|
November 11th, 2009, 07:06 AM
|
|
Second Lieutenant
|
|
Join Date: Mar 2008
Location: Treviso; Italy
Posts: 420
Thanks: 22
Thanked 19 Times in 13 Posts
|
|
Black background sprite
Yesterday i had a strange bug: some of my own sprite, which all worked perfectly until then, begun to show
their black background during battle.
Someone have an idea on how to fix it
|
November 11th, 2009, 09:19 AM
|
|
Second Lieutenant
|
|
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
|
|
Re: Black background sprite
This probably belongs in the modding sub-forum...
Did you edit the graphics recently (perhaps indirectly, via an automated tool or indexer?) In my experience, the black background (when you've verified that the RGB values are all correct) is due to an alpha channel having been added. Some graphics tools don't let you easily select whether to add the alpha channel to .tga or not.
|
November 11th, 2009, 09:38 AM
|
|
Second Lieutenant
|
|
Join Date: Mar 2008
Location: Treviso; Italy
Posts: 420
Thanks: 22
Thanked 19 Times in 13 Posts
|
|
Re: Black background sprite
Well yes, i edited them recently, but just mirrored them(x=-x)
so, there is a way to fix it?
|
November 11th, 2009, 10:11 AM
|
|
Second Lieutenant
|
|
Join Date: Sep 2008
Posts: 466
Thanks: 35
Thanked 95 Times in 60 Posts
|
|
Re: Black background sprite
Quote:
Originally Posted by Swan
Well yes, i edited them recently, but just mirrored them(x=-x)
so, there is a way to fix it?
|
Well...it depends on your graphics editing program. If you can save it again without the alpha channel, and that's the reason (rather than invalid RGB value for black, for instance) then you should be good. If the program doesn't explicitly indicate alpha channel, it might say something like 24bit (no alpha) vs. 32bit (with alpha).
|
November 11th, 2009, 01:51 PM
|
|
Second Lieutenant
|
|
Join Date: Mar 2008
Location: Treviso; Italy
Posts: 420
Thanks: 22
Thanked 19 Times in 13 Posts
|
|
Re: Black background sprite
ok, i tried to save it again, but it never let me choose alpha channel or not, not even 32/24 bit.
I use GIMP.
|
November 15th, 2009, 01:04 PM
|
|
Second Lieutenant
|
|
Join Date: Mar 2008
Location: Treviso; Italy
Posts: 420
Thanks: 22
Thanked 19 Times in 13 Posts
|
|
Re: Black background sprite
Found how to fix it: save sprite as jpg, work on them, resave as tga and voilĂ*
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|