Disable shadowmapping on WebGL
This commit is contained in:
parent
2616b2f5c9
commit
ccaf9261cc
7 changed files with 67 additions and 45 deletions
|
@ -13,5 +13,5 @@ fn vs_main(
|
|||
);
|
||||
|
||||
let world_position = model_matrix * vec4<f32>(model.position, 1.0);
|
||||
return light.matrices[light_matrix_index.value] * world_position;
|
||||
return light.matrices[global_uniforms.light_matrix_index] * world_position;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue