Skip to content

Grid gizmo with either x or y outer edges doesn't render correctly #19480

Open
@uben0

Description

@uben0

The grid gizmo isn't rendered properly when either the x or y outer edges are activated (but not when both).

Config

bevy version 0.16.1

AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5708, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 25.0.6", backend: Vulkan }

Reproduce

fn example(mut gizmos: Gizmos) {
    gizmos
        .grid(Vec3::ZERO, UVec2::splat(8), Vec2::splat(1.0), Color::WHITE)
        .outer_edges_x();
}

Result

Image

Metadata

Metadata

Assignees

Labels

A-GizmosVisual editor and debug gizmosC-BugAn unexpected or incorrect behaviorD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions