bevyengine / bevyengine/bevy

Shadow flickering on remeshing

Open
#21,631 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug S-Needs-Reproduction
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 16h
Merged PRs (30d)
171

Description

## Bevy version and features
bevy 0.17.2
default features + "bevy_dev_tools"

## Relevant system information
SystemInfo { os: "Windows 11 Home", kernel: "26100", cpu: "AMD Ryzen 7 9800X3D 8-Core Processor", core_count: "8", memory: "61.6 GiB" }
AdapterInfo { name: "NVIDIA GeForce RTX 2080 Ti", vendor: 4318, device: 7687, device_type: DiscreteGpu, driver: "NVIDIA", driver_info: "581.08", backend: Vulkan }

You should also consider testing the examples of our upstream dependencies to help isolate any setup-specific issue:

## What you did
Created some procedural meshes, re-meshing chunks of voxels and updating the mesh.

## What went wrong
Shadows flicker/disappear/re-appear, mostly when re-meshing it seems.

## Additional information
I am running at a relatively high FPS, 240+, I don't encounter this issue on my M1 macbook pro, so it could be OS/platform based or it could be some niche timing issue here.

Potentially related to https://github.com/bevyengine/bevy/issues/21632 issues

https://github.com/user-attachments/assets/47a81b5b-bd03-467b-9113-958e94e320e7

https://github.com/user-attachments/assets/57e8f00c-8e15-4ab9-963e-bb1e9508422c

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported shadow flickering while procedurally remeshing voxel chunks on Windows 11 with Vulkan, using Bevy 0.17.2 and the default features plus bevy_dev_tools. Compare the behavior with the M1 macOS result and investigate the possible relationship to issue #21632; done means the cause is isolated and the flickering is fixed or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.