Skip to content

CollisionShape3D.debug_fill has much Z-fighting #103717

Closed
@azur-wolve

Description

@azur-wolve

Tested versions

4.4-stable

System information

Debian 12 (X11), Godot 4.4-stable, Vulkan (Forward+), RTX 3060

Issue description

The new debug shape colors #90644 paired with "fill" has z-fighting.
Thats bad for level geometry.

CollisionShape.debug_fill is enabled by default.

The problem is that z-fighting happens when mesh and shape match in space, not sure if there's any solution for that.

For now would be better to disable CollisionShape.debug_fill by default.

vid.mp4

Steps to reproduce

Move around geometry with textures and collision shapes to see Z-fighting.

Minimal reproduction project (MRP)

Any with textured geometry and collision.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions