fix light position offset
This commit is contained in:
parent
7830d735b8
commit
7c6062dced
3 changed files with 3 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue