fix light position offset

This commit is contained in:
Lauri Räsänen 2023-04-15 19:52:58 +03:00
parent 7830d735b8
commit 7c6062dced
3 changed files with 3 additions and 7 deletions

View file

@ -561,7 +561,6 @@ impl State {
light_depth_render_pass.set_vertex_buffer(1, self.instance_buffer.slice(..));
light_depth_render_pass.set_pipeline(&self.light_depth_pass.pipeline);
// TODO separate func
light_depth_render_pass.draw_model_instanced(
&self.model,
0..self.instances.len() as u32,