Sign in to follow this  

white outline around certain tgas.

This topic is 4340 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am currently using a tga loader to load up some tgas I have created with transparency. I have a problem that random tgas that I will create from bmps will have a white outline to them and I can't figure out why it is doing it. I am sure its a silly problem with the way I make the tgas and not the code but I am not sure. Can anyone fill me in? Here is an example [URL=http://img68.exs.cx/my.php?loc=img68&image=buddy4pv.jpg][IMG]http://img68.exs.cx/img68/9329/buddy4pv.th.jpg[/IMG][/URL]

Share this post


Link to post
Share on other sites
The problem seems to be that the images you are converting to tgas have anti-aliased edges, where the paint program you used blended the outline with the background. You should consider reauthoring the images in a program with native transparency instead of trying to convert the background color to transparent.

Share this post


Link to post
Share on other sites
yeah I ment to say that is the obvious solution but its not :( there is no outline after the black line in the files and I can make that white border any colour by changing the quad colour.

Share this post


Link to post
Share on other sites
#1 the background in the tgas has to be black in order to remove the outline.
But this depends on your image program.

#2 the images looks like they don't have any transparacy at all, instead it looks like they are alphatested, you need to use the correct blending func in order for the alpha layer to show all it's full glory.

Share this post


Link to post
Share on other sites
I am using GIMP to add transparency. By selecting add alpha layer to my pre drawn bmps. Then by hand I erase the background by hand using the eraser. As setting colour to alpha causes different problems.

Share this post


Link to post
Share on other sites

This topic is 4340 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this