Page MenuHome

Overlays ( Face orientation, weight maps etc ) z-fight with underlying mesh
Closed, DuplicatePublic

Description

Edit: This appears to be a duplicate of https://developer.blender.org/T87927

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: AMD Radeon RX 6800 XT ATI Technologies Inc. 4.5.14741 Core Profile Context 21.7.1 27.20.22017.1004

Blender Version
Broken: version:

  • 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: rB211b6c29f771
  • 2.83.17 Release Candidate, branch: master, commit date: 2021-06-30 07:01, hash: rBc5c4727d6ed7
  • 2.90.0, branch: master, commit date: 2020-08-31 11:26, hash: rB0330d1af29c0
  • 2.93.2 Release Candidate, branch: master, commit date: 2021-07-07 05:52, hash: rB9e64fd461ac3.
  • 3.0.0 Alpha, branch: master, commit date: 2021-07-20 21:39, hash: rBdc8a924efa71

Worked:

  • 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: rB375c7dc4caf4

Short description of error
Overlays such as face orientation and weight maps will flicker as if z-fighting.
The overlays appear to be z-fighting with the "normal" rendered surface of the mesh.

Exact steps for others to reproduce the error
Open an new project and delete the default cube. The problem is not visible on the default cube unless it is rotated first.
Create a UV sphere, then enable the "face orientation" overlay.
The flickering z-fighting will become very apparently as soon as the view is rotated.

Details

Launching Blender using blender_debug_gpu_glitchworkaround.cmd does not resolve the issue.

When running 2.93 blender.exe with --debug-gpu I also get the following output:

WARN (gpu.shader): OVERLAY_shader_armature_sphere_410 FragShader:
      |
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_sphere_397 FragShader:
      |
    6 | #extension GL_ARB_shader_draw_parameters : enable
      |  ^
      | Warning: (#62) enable/warn/disable extension is not found. Extension "GL_ARB_conservative_depth" is not supported

WARN (gpu.shader): OVERLAY_shader_armature_shape_435 GeomShader:
      |
    5 | #endif
      |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ^
      | Warning: (#310) Inputs that are integers should be qualified with the interpolation qualifier "flat"