transparent textures are gay Created 16 years ago2008-01-22 04:31:05 UTC by Captain Terror Captain Terror

Created 16 years ago2008-01-22 04:31:05 UTC by Captain Terror Captain Terror

Posted 16 years ago2008-01-22 04:31:05 UTC Post #244019
K. I read a bunch of forum posts, and searched for wally tutorials for transparency, to no avail. Here's some screens of two textures I'm trying to make transparent:

In this first one it will not go transparent regardless of any render options:
User posted image
In the second one, it'll go transparent but only as additive and 255!!:
User posted image
Here's the files if you want to check them out:
http://captain0terror.googlepages.com/ct_timer0001.zip

Thanks in advance for any help! = )
Captain Terror Captain Terrorwhen a man loves a woman
Posted 16 years ago2008-01-22 04:39:12 UTC Post #244020
You need to set a pure blue colour (R 0 G 0 B 255) to the last slot in the pallette (255) which I can see you've done.

However you then have to select that slot in wally and use the fill tool to go over the area you want to be transparent.

That should work.

(Even in your first example where you have blue at the start and end of the pallette you will still need to go into the texture in wally and make sure that you use the bottom-right one to fill in the area you want to be transparent.)
monster_urby monster_urbyGoldsourcerer
Posted 16 years ago2008-01-22 04:50:54 UTC Post #244022
Oh wow so it means like retexturing the whole thing? ewww = )

Any idea why the black renders invisible if it's additive?
Captain Terror Captain Terrorwhen a man loves a woman
Posted 16 years ago2008-01-22 04:55:26 UTC Post #244024
Not so much re-doing it. Just use the 'fill' tool on the section you want invisible. Its often just a one click job.

Additive is what you use for glass and such. It renders lighter colours more vividly while darker colours are more faded. Therefore, white would be completely white and you wouldn't be able to see through unless you used a lower 'FX' value than 255. Black is completely invisible whenever it is tied to an additive effect.
monster_urby monster_urbyGoldsourcerer
Posted 16 years ago2008-01-22 05:00:30 UTC Post #244025
Yay works now!

Thanks so much Urbanebula! = )
Captain Terror Captain Terrorwhen a man loves a woman
Posted 16 years ago2008-01-22 06:11:31 UTC Post #244026
Next time put a little more effort into your thread title.
Strider StriderTuned to a dead channel.
Posted 16 years ago2008-01-22 06:49:31 UTC Post #244028
Found this... it seems a more concise explanation, so I will post the relevant portion:

Transparent HL textures In Wally
***********************
By NinjaGrinch

Any part of the texture that you want to be transparent needs to be the same color as palette index 255. Generally its a good idea to use a specific color like pure blue/green/red or my favorite, magenta RGB(255,0,128), that stands out from the rest of the texture.

The best way to set the color you want to index 255 is to first get the image looking how you want in Photoshop (or whatever your prefered graphics program is), then open it up in Wally.

Pick the color you want to be transparent (Use the "Eye Dropper" tool to select the transparent colour as your primary colour.), then choose 'Translate Colors' from the Colors menu. For 'Source pixels' enter the index number you noted, then put 255 for the 'Destination Index' and CHECK the box 'Swap Indexes'.

Full thread here:
http://www.chatbear.com/unity2/668/403,1064167071,2615/536206?v=flatold

And finally another helpful Transparent Textures HL tutorial, this one with pretty pictures at Egir.dk:
http://www.egir.dk/index.php?page=wal_transparent/wal_transparent.html
Captain Terror Captain Terrorwhen a man loves a woman
You must be logged in to post a response.