www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: zbych on April 25, 2015, 09:31:44 pm

Title: Disappearing transparent geometry
Post by: zbych on April 25, 2015, 09:31:44 pm
In some cases when camera moves around object (transparent object) a part of this object disappear. As you can see on second image, a part of object is missing.
Is it possible to set some kind of flag to disable this geometry "culling" (the back-face culling is disabled for this object)?
When I disable transparency for this object it is rendered ok.
(http://img42.com/NzSxP+)
Title: Re: Disappearing transparent geometry
Post by: EgonOlsen on April 25, 2015, 11:54:15 pm
It's unlikely culling but maybe transparency sorting. But i'm not sure what i'm looking at here, so it's hard to tell...what is this...thing...in the center of the image? Do you have a view from another perspective?
Title: Re: Disappearing transparent geometry
Post by: zbych on April 26, 2015, 01:22:31 pm
I have figured it out, it was my fault - the missing geometry was discarded by depth test, because it was covered by other object rendered to depth buffer only.