Jump to content

[SOLVED] Rendering issue with ObjectGui when log depth is enabled


photo

Recommended Posts

Posted

When I enable logarithmic depth, ObjectGui has some rendering issues in Unigine 2.2. In our case the ObjectGui shows in front of objects even though it is placed behind it. When I tried to reproduce in the ObjectGui sample I got different results but it was broken as well. Simply enable logarithmic depth in the gui_00 sample and based on the camera angle weird green artifacts start showing like in the attached image.

post-999-0-31999300-1459493047_thumb.jpg

Posted

Hi Michael,

 

Yes, this is known issue. ObjectGUI object needs to be refactored to work correctly with logarithmic depth buffer. Currently, we recommend to not use logarithmic depth with GUI objects.

 

Sorry for the inconvenience caused.

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Michael,

 

There are two workarounds available, however (in case of gui_00 sample). object_gui material can be tuned in the following way:

  1. In case of Alpha blend (Forward) transparency preset you can turn off Depth write checkbox;
    OR
  2. You can also change Alpha blend (Forward) transparency preset to Opaque (Deferred).

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

×
×
  • Create New...