Skip to content

Shadows disappear abruptly in visibility range example #23991

@eswartz

Description

@eswartz

Bevy version and features

  • from main, bafb203
  • default features
  • does not occur in bevy 0.18.1

[Optional] Relevant system information

rustc 1.97.0-nightly (e22c616e4 2026-04-19)

2026-04-26T15:02:23.905713Z  INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (Debian GNU/Linux)", kernel: "6.19.8+deb14-amd64", cpu: "AMD Ryzen 7 5800X 8-Core Processor", core_count: "8", memory: "31.3 GiB" }
2026-04-26T15:02:23.998097Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 3080 Ti", vendor: 4318, device: 8712, device_type: DiscreteGpu, device_pci_bus_id: "0000:0e:00.0", driver: "NVIDIA", driver_info: "595.58.03", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 32, transient_saves_memory: false }

(Note: This does not occur when building for webgpu and running on Chrome.)

What you did

Ran the visibility_range example and used WSAD to move camera.

What went wrong

The shadow cast by the model abruptly disappears and reappears based on viewing angle.

Additional information

Video:
https://github.com/user-attachments/assets/2cd572f3-19c8-4265-af76-37fdff3dca37

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorD-ModestA "normal" level of difficulty; suitable for simple features or challenging fixesP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-Needs-ReviewNeeds reviewer attention (from anyone!) to move forward

    Type

    No type

    Projects

    Status

    Needs SME Triage

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions