Transparent texture problem Created 19 years ago2004-07-03 19:23:47 UTC by Propaganda Propaganda

Created 19 years ago2004-07-03 19:23:47 UTC by Propaganda Propaganda

Posted 19 years ago2004-07-03 19:23:47 UTC Post #38577
I made a 512 x 512 image in paint shop, the background is set to 0 0 255. I then put my trees on top and saved it as a jpg, therefore there is no alpha channel. I then took it into my wad and tried to use it as a transparent texture, but it doesnt work even with func_wall, set to texture or solid and render at 255. I then opened the texture in wally to see the problem. For some reason all my blue is to 0 0 254. I tried resaving it and it did it again. Any ideas on how to fix this?
Posted 19 years ago2004-07-03 19:50:05 UTC Post #38580
If you edit the texture in Wally go to 'colors-> edit palet'. Make sure here the lowerrightmost color is '0 0 255' and make sure you replace the '0 0 254' colors with this one. Now save, load, compile and enjoy your transparent texture. :P
Posted 19 years ago2004-07-03 20:02:33 UTC Post #38586
Ok that helped but now i have a blue halo around my trees, likely stuff that was in the blueish range but not quite 0 0 254. Any other ideas on how to get a pure texture?
Posted 19 years ago2004-07-03 20:45:48 UTC Post #38589
That's a matter of good image-editing. This should be done before you import the image into Wally. I recommend not saving your images as JPEGs but saving them as BMPs where no qualityloss occurs. Second I recommend working in layers where you have a background layer and a foregroundlayer where the backgroundlayer is pure blue. This way you can easily correct mistakes and be sure there won't occur any odd colorblends. (Ofcourse, you can work with more layers if you like :P)
Posted 19 years ago2004-07-04 03:49:19 UTC Post #38629
Yes, it looks like bitmap is the way to go, if saved as bitmap it stays at 0 0 255.
You must be logged in to post a response.