Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Motion blur should sample onscreen fragments with no depth (#13573)
# Objective - Motion blur does not currently work with skyboxes or anything else that does not write to depth. ## Solution - When computing blur, include fragments with no depth, as long as they are onscreen. ## Testing - Tested with the examples - the motion_blur example uncovered a bug with this fix, where offscreen pixels where now being sampled and causing artifacts. - Attached example showing the skybox being sampled in the blur (note the feathering on edges): https://github.com/bevyengine/bevy/assets/2632925/fc14b0c1-2394-46a5-a2b9-a859efcd23ef
- Loading branch information