Skip to main content
GameDev.net gamedev.net
🔒 Locked

font rendering and transparency

Started by sideh Dec 19, 2002 at 8:14 AM 4 replies 400+ views
Original Post
sideh
sideh
hello, Is there any way to make the black parts of a 24bit texture completely transparent ? I can''t seem to save 32bit font textures so i have to use 24bit. Other than applying the alpha manually when the texture is loaded (if (rgb == 0) a = 0). I''m using bitmap font builder to create the texture but when I save as 32bit it comes up all white, regardless of background/foreground colours. cheers, rich
rexizt
rexizt
if the problem about saving 32bit''s TGA is in photshop, get the latest update from adobe.com

it will fix it
"may the source be with you"
sideh
sideh
i''m not using photoshop unfortunately, using bitmap font builder.
sideh
sideh
basically, I need to make the black bit transparent without making the whole thing slightly transparent.

this is what it looks like now:
sideh
sideh
works like a charm, thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.