Jump to content

Z fight in dynamic mesh and renderBox


photo

Recommended Posts

We are creating dynamic mesh using mesh_base material and rendering a bounding box using engine.visualizer.renderBox but when the camera is far there is a z-fight in them and mesh flickers.

 

Setting order is not making any difference. Is there anything else we should try?

 

Ps: We are using Unigine 2.3.1

Link to comment

Hi Priyank,

 

If it's acceptable for you, you can hide the original object on far distance to avoid flickering (for example, by setting it's Viewport mask to 0).

 

Similar issue is described in this forum thread: https://developer.unigine.com/forum/topic/4293-object-rendered-by-visualizer-flicker-when-the-taa-option-is-enabled/

 

Unfortunately, there is currently nothing can be done on engine side to reduce thin surfaces flickering.

 

Thanks!

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

Link to comment
×
×
  • Create New...