Game Development Community

Transparency with dts

by Tom · in Artist Corner · 03/02/2006 (3:07 pm) · 9 replies

Ok, i wanted to have a transparent crystal tha the player runs into. however, i soon relised that the transparency cant be controlled by the png?

i was jsut wondeirng if this is true. or how can you change the transparency??
(i use blender) like, how can i make it 80 % transparent instead of the 20 % trans that it is showing me???

#1
03/02/2006 (3:14 pm)
...
#2
03/02/2006 (3:19 pm)
I use photoshop to edit it, i tried 1%, 20 %, 50%, 80%, and 99%. and they all looked the same in tsp and tge, then at 100% it was solid, and at 0%, it wasnt their. might their be something im doing wrong???

how would you change the transparency in photoshop??
#3
03/02/2006 (3:20 pm)
Btw: i used the layer opacity to change it
#4
03/02/2006 (3:25 pm)
...
#5
03/03/2006 (10:42 am)
Try this to add the image to the model and make it transparent and let me know if it works out for you. Make sure your png is a 24-bit png when you export it from Photoshop. Any areas where you can see the Photoshop checkerboard background, even partially, should come out as transparent or semi-transparent.

Scott
#6
03/04/2006 (12:29 am)
When saving PNG's from photoshop make sure you Save For Web to keep the format correct. Also when setting up the PNG in the layers add a layer mask - using black to white to determine levels of transparency.
#7
03/04/2006 (10:26 am)
I don't know if this is on-topic enough, but can the opacity be changed in-game somehow? I want GUI that when you mouse over it, it's not opaque at all, but when you move the mouse away from it, it becomes VERY opaque.

thoughts?
#8
03/05/2006 (8:12 am)
Photoshop by default will save a PNG transparency layer based on what it physically sees in your image for pixel transparency and not the Alpha channel (this is due to some very loose specifications of the PNG format wheres Adobes engineers figured that it should be done a certain way contrary to how end users actually work... aka. A typical Adobe blunder where they dont know their head from their ass when it comes to what users need.). This is useful sometimes when you don't want to take a long time to try to setup the perfect alpha channel to block out a tricky image like flames.

If you want to use your alpha channel data, you must use an old plugin called SuperPNG Beta (not the normal release you will find on the developers web site, as that just does the same crap that PS and PSP does). If you cannot find it I know a few people that have it and might be able to tell you where to get it if you ask very nicely.

Logan
#9
03/05/2006 (8:31 am)
You might also want to try the SuperPNG plugin for PHotoshop. It allows it to properly get the alpha channels in there.