Fix wrong model for light depth pass
This commit is contained in:
parent
ba41da6804
commit
ccfaff88bd
1 changed files with 1 additions and 1 deletions
|
@ -477,7 +477,7 @@ impl State {
|
||||||
light_depth_render_pass.set_pipeline(&self.light_depth_pass.pipeline);
|
light_depth_render_pass.set_pipeline(&self.light_depth_pass.pipeline);
|
||||||
// TODO separate func
|
// TODO separate func
|
||||||
light_depth_render_pass.draw_model_instanced(
|
light_depth_render_pass.draw_model_instanced(
|
||||||
&self.light_model,
|
&self.model,
|
||||||
0..self.instances.len() as u32,
|
0..self.instances.len() as u32,
|
||||||
&self.camera_bind_group,
|
&self.camera_bind_group,
|
||||||
&self.light_bind_group,
|
&self.light_bind_group,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue