setSortOffset?

Started by John Tribe, March 03, 2013, 06:25:53 PM

Previous topic - Next topic

John Tribe

When i load object from 3ds file everything is great, but when i serialize and deserialize i have this problem with transparency and setSortOffset?.

I think the problem is with the 3ds file it has some information that is lost after deserialization and after deserialization it has errors in graphic (transparent some polygons in some angle).

and when i try set sort offset (-2000f)(dont know why must be negative ) on the transparent objects in scene they are visible even shadowed by other textures.

issue simillar to this one:
http://www.jpct.net/forum2/index.php/topic,1292.msg8846/topicseen.html#msg8846
Best game prices in http://games2see.com

EgonOlsen

I fail to see any relation between deserializing a model and sorting problems. And i think that you haven't got the idea behind setSortOffset right. Giving all transparent objects the same offset doesn't make any sense. Maybe you can post a screen shot of the actual problem?

John Tribe

im stupid.
i set transparency to all object, after loading. 
Best game prices in http://games2see.com