bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.51k stars 3.6k forks source link

Toggling sharpening on then off results in a massively oversharpened image despite sharpening being disabled. #16531

Closed Elabajaba closed 2 days ago

Elabajaba commented 2 days ago

Bevy version

2a66bf0909992b280420442ecda42a38d37de326 with https://github.com/bevyengine/bevy/pull/16530 so sharpening actually works

What you did

Run the anti_aliasing example, then toggle sharpening on and off. Wait a bit and it starts glitching out.

What went wrong

Image ends up being oversharpened to the point of looking broken, with the oversharpening artifacts changing over time as well despite sharpening being disabled.

Image

alice-i-cecile commented 2 days ago

This is almost certainly a retained rendering world bug. We need to make sure that the entities/ components responsible is getting removed correctly.