ITADN

Removing `AtmosphereSettings` from a camera leads to heavy flickering

#24808OpenNovakasa 创建于 2026-06-29
C-BugA-RenderingS-Ready-For-ImplementationX-UncontroversialD-Modest
N
Novakasacommented
## Bevy version and features - Bevy main 0.20dev (`f0d53f33adb6ccc1fb1bbf069b7dc4ef5a371f08`) ## Relevant system information nixOS-unstable, wayland, RTX 2080Ti ```ignore INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Linux (NixOS 26.11)", kernel: "6.18.35", cpu: "AMD Ryzen 9 3900X 12-Core Processor", core_count: "12", memory: "31.3 GiB" } 2026-06-29T18:41:11.650675Z INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce RTX 2080 Ti", vendor: 4318, device: 7687, device_type: DiscreteGpu, device_pci_bus_id: "0000:08:00.0", driver: "NVIDIA", driver_info: "595.80", backend: Vulkan, subgroup_min_size: 32, subgroup_max_size: 32, transient_saves_memory: false } 2026-06-29T18:41:12.760962Z INFO bevy_pbr::cluster: GPU clustering is supported on this device. ``` ## What you did While upgrading my project to bevy 0.19 I've noticed it's become impossible to remove atmospheric rendering from a camera. When the `AtmosphereSettings` are removed from the camera, the scene starts flickering pretty badly. I reproduced this in the example as well. ## What went wrong In bevy 0.18, I could disable the atmosphere by deleting the previous component and it worked as expected. In bevy 0.19, flickering appears. The flickering seems to encode a visual "atmosphere" state that then does not get updated when moving the camera, the state seems to get baked in at the moment I remove the AtmosphereSettings ## Additional information https://github.com/user-attachments/assets/a470e23e-cb51-420b-b407-6c44e0b860d6 [Here](https://github.com/Novakasa/bevy/tree/explore-atmosphere-disabling) is the code I used to reproduce the video above.
0 条评论