Game Development Community

Transparent textures

by Marek \"slooT\" Błaż · in Artist Corner · 07/04/2008 (4:35 pm) · 11 replies

Hi!

My problem is that *.png texture with alpha didnt work in TGE.
Instead of alpha there is back colour.
img375.imageshack.us/img375/7315/27746164ja7.jpg
Here are files with model and texture:
www.blazus.republika.pl/z.zip

Please help me ;]

Thanks

#1
07/04/2008 (5:34 pm)
Start here...

www.garagegames.com/blogs/35183/14586

The basic way to resolve this is
1. make a jpg of the non transparent textures to save memory, make a new material and map all your non transparent object to that (the poles, the cauldron etc)
2. and just make a 32 bit png of the link - your format is correct as it is, just make it for the chain link and apply a new material just to that.

Transparency works in Torque by making the original material at least 0.1% transparent. Do that in Blender then export. I don't know Blender but I will use your object and try do what I'm saying to make sure.

Anyone else know the exact buttons to press? Any let me know if this helps, otherwise I will try and fix it for you.
#2
07/05/2008 (12:10 am)
...
#3
07/05/2008 (12:36 am)
...
#4
07/05/2008 (7:57 am)
Thanks a lot ;]
Doesn't looks realistic, but I hope it'll be enough ;]

Thanks again
#5
07/06/2008 (8:44 am)
Problems continuation...

This transparency was tolerable in that chain, but when i made a palm and the leafs with alpha it looks terrible.
Here are files: uploaded.to/?id=2e3nux

img530.imageshack.us/img530/1496/87849979hn2.jpg
#6
07/06/2008 (9:20 am)
...
#7
07/06/2008 (2:37 pm)
Thanks again
You almost solve my problem. The trunk is now good displayed, but the leafs always looks strange. The leaf behind another covers leafs whitch are closer camera(me). I tried to separate all leafs apart, but it didn't help. I tried also to connect all leafs in one mesh, but it also didn't solve my problem.
#8
07/06/2008 (3:34 pm)
...
#9
07/06/2008 (4:29 pm)
...
#10
07/07/2008 (2:53 am)
In my game the camera will be always close to player, so i made my leafs to be good seen when i'm under them. But when I will do some panoramic screens/movies, then it'll be looking strange again. This problem is only in Blender, or simply in all TGE?
#11
07/07/2008 (10:50 am)
...