Shadow render phase - pass the correct view entity (#7048)
# Objective - Fixes #7047 ## Solution - Pass the correct view entity
This commit is contained in:
parent
2665299d1c
commit
61e027e8a8
@ -1785,7 +1785,13 @@ impl Node for ShadowPassNode {
|
||||
}),
|
||||
};
|
||||
|
||||
shadow_phase.render(world, render_context, view_entity, None, pass_descriptor);
|
||||
shadow_phase.render(
|
||||
world,
|
||||
render_context,
|
||||
view_light_entity,
|
||||
None,
|
||||
pass_descriptor,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user