mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
Remove the early exit to make sure the prepass textures are cleared (#7891)
# Objective - Fixes #7888. ## Solution - Remove the early exit to make sure the prepass textures are cleared.
This commit is contained in:
parent
0b794c8f1e
commit
a213c8ac94
1 changed files with 0 additions and 4 deletions
|
@ -69,10 +69,6 @@ impl Node for PrepassNode {
|
|||
return Ok(());
|
||||
};
|
||||
|
||||
if opaque_prepass_phase.items.is_empty() && alpha_mask_prepass_phase.items.is_empty() {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
let mut color_attachments = vec![];
|
||||
if let Some(view_normals_texture) = &view_prepass_textures.normal {
|
||||
color_attachments.push(Some(RenderPassColorAttachment {
|
||||
|
|
Loading…
Reference in a new issue