Author Topic: Disappearing transparent geometry  (Read 583 times)

Offline zbych

  • int
  • **
  • Posts: 75
    • View Profile
Disappearing transparent geometry
« 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.
« Last Edit: April 25, 2015, 09:33:48 pm by zbych »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Disappearing transparent geometry
« Reply #1 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?

Offline zbych

  • int
  • **
  • Posts: 75
    • View Profile
Re: Disappearing transparent geometry
« Reply #2 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.