Game Development Community

TGE alpha sorting help needed.

by Jason Gossiaux · in Artist Corner · 09/19/2008 (8:17 am) · 1 replies

Hello everyone,

I've spent the past few days fighting with TGE 1.5.2's alpha sorting for transparent textures, and am really needing some help. I am trying to make a sphere inside of another sphere, where the outer sphere is transparent and the inner sphere is solid. I also want the outersphere to have a strip in the middle that is entirely transparent.

To do this I am using photoshop w/ SuperPNG plugin, an alpha layer that I know is being exported, and using the latest MS3D exporter with Translucency checked. A user of TGEA kindly made my model, the textures, and tested it and it works fine in TGEA - however in Showtool and in TGE the alpha sorting is broken on his model.

Here is an example of my problem :

http://www.flickr.com/photos/29558960@N02/2868395109/

The inner sphere keeps getting rendered on top of the outer sphere. I've tried SORT:: on the meshes/materials but the MS3D exporter gives me an error with the normals. Has anyone been able to get this effect in the past, and if so what did you use? Thanks!


* Edit, added some info.

#1
09/19/2008 (6:50 pm)
So it looks like the problem is caused by my rigging. If I add a skeleton and assign some vertices to the skeleton the middle sphere always gets rendered on the outside. I'm not sure how to go about fixing this. Any ideas?