Shadow render phase - pass the correct view entity (#7048)

# Objective

- Fixes #7047 

## Solution

- Pass the correct view entity
This commit is contained in:
François 2022-12-28 20:07:35 +00:00
parent 2665299d1c
commit 61e027e8a8

View File

@ -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,
);
}
}