Transparent Texture Containing The Blue Created 6 years ago2017-10-30 23:49:32 UTC by User#6970 User#6970

Created 6 years ago2017-10-30 23:49:32 UTC by User#6970 User#6970

Posted 6 years ago2017-10-30 23:49:32 UTC Post #337875
Hi,

I'm having trouble with a texture. I want to make part of it transparent, but it contains blue apart from the part I need to make pure blue for transparency. It doesn't work at all.

Is there any rules or guidelines when using blues in a transparent texture?

Thanks
Posted 6 years ago2017-10-31 01:53:40 UTC Post #337876
Is the blue part you want blue being rendered transparent? or if you're having problems getting the pure blue to be transparent
you're going to wanna
open it with paint.net than set the part you want to pure blue(B 255)
than save as: .PNG 24 bit and than rename the texture to have the "{" symbol infront eg: {name.png
than put it in wally and save as .WAD

note: dont use jpg it messes up the exact color values
tip: in gimp you can use Threshold alpha to remove any translucent pixels
Posted 6 years ago2017-10-31 05:45:13 UTC Post #337877
I have an in-depth guide here that explains:
http://www.the303.org/tutorials/gold_texture_p2.htm

I also put in a mention of using wally or irfanview to do the 8bit conversion step since gimp tends to mess up your "pure blue" on conversion (save as full color 24bit then feed into wally just similar to what 789 just posted).
Posted 6 years ago2017-10-31 17:04:15 UTC Post #337883
Here's the picture I'm using:

https://upload.wikimedia.org/wikipedia/commons/thumb/5/5e/US-WhiteHouse-Logo.svg/1024px-US-WhiteHouse-Logo.svg.png

There's blue in it, but I'm using pure blue all around the oval.

I saved it as a .bmp 24 bits and named it starting with a "{".

This generally automatically set pure blue as the last palette color index. (I verified and it did it.)

I did this process with other pictures and it works fine, but not with this one. (The pure blue is not replaced.)

I am actually using gimp.

I'm at work right now. I just have wally on hand. I used your Threshold Alpha trick and that was really helpful. I'll try re-adding the picture to Wally this way.

I'll read the tutorial later when I get back from work and try what it suggests also.
Posted 6 years ago2017-10-31 19:15:20 UTC Post #337887
Just as a note, the transparent area in a { texture doesn't have to be pure blue - any colour will work, as long as that colour is the 256th colour in the palette. I've seen people use green and purple for their transparent colour when the actual texture included shades of blue, etc.
Notewell NotewellGIASFELFEBREHBER
Posted 6 years ago2017-11-01 02:42:19 UTC Post #337898
Thanks all. It worked. I used the Threshold Alpha trick and it works like a charm. I guess there were too many shades of blue or twice the pure color blue.
You must be logged in to post a response.