Skip to content

Commit 61e027e

Browse files
committed
Shadow render phase - pass the correct view entity (#7048)
# Objective - Fixes #7047 ## Solution - Pass the correct view entity
1 parent 2665299 commit 61e027e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

crates/bevy_pbr/src/render/light.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,13 @@ impl Node for ShadowPassNode {
17851785
}),
17861786
};
17871787

1788-
shadow_phase.render(world, render_context, view_entity, None, pass_descriptor);
1788+
shadow_phase.render(
1789+
world,
1790+
render_context,
1791+
view_light_entity,
1792+
None,
1793+
pass_descriptor,
1794+
);
17891795
}
17901796
}
17911797

0 commit comments

Comments
 (0)