-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClearColorConfig::None
doesn't correctly disable clear behavior
#11883
Comments
How severe is this, and can you work around it? Trying to assess if fixing this should block the release. |
Simple repro: modify the |
@alice-i-cecile We're porting Nannou to Bevy (nannou-org/nannou#953), and this is pretty fundamental to supporting a Processing like "sketch" creative coding setup (i.e., where the user "sketches" on a canvas). We're just getting started and probably won't be 100% baked until closer |
I make use of this for a similar feature to nannou. I don't believe there is a work around that doesn't come with some performance loss. The simplest I can think of is keeping last frame's texture around so you can bind it when rendering the next frame and sample it, but that is a non-trivial amount of code across both rust and wgsl and comes with a perf hit. |
This represents when the user has configured `ClearColorConfig::None` in their application. If the clear color is `None`, we will always `Load` instead of attempting to clear the attachment on the first call. Fixes bevyengine#11883.
This represents when the user has configured `ClearColorConfig::None` in their application. If the clear color is `None`, we will always `Load` instead of attempting to clear the attachment on the first call. Fixes bevyengine#11883.
This represents when the user has configured `ClearColorConfig::None` in their application. If the clear color is `None`, we will always `Load` instead of attempting to clear the attachment on the first call. Fixes bevyengine#11883.
This represents when the user has configured `ClearColorConfig::None` in their application. If the clear color is `None`, we will always `Load` instead of attempting to clear the attachment on the first call. Fixes #11883.
Bevy version
0.13
(main branch).What you did
Configured a simple 3d scene with
ClearColorConfig::None
on the only camera.What went wrong
The screen is cleared each frame, instead of persisting draws between updates.
Additional information
Likely stemming from changes in #10325.
0.12
:0.13
:The text was updated successfully, but these errors were encountered: