diff --git a/assets/shaders/instancing.wgsl b/assets/shaders/instancing.wgsl index a785b088be..52e7d9696a 100644 --- a/assets/shaders/instancing.wgsl +++ b/assets/shaders/instancing.wgsl @@ -24,7 +24,7 @@ fn vertex(vertex: Vertex) -> VertexOutput { // index in the Mesh array. This index could be passed in via another // uniform instead but it's unnecessary for the example. out.clip_position = mesh_position_local_to_clip( - get_model_matrix(0), + get_model_matrix(0u), vec4(position, 1.0) ); out.color = vertex.i_color;