diff --git a/src/renderer/main.wgsl b/src/renderer/main.wgsl index 522e354..baeaf84 100644 --- a/src/renderer/main.wgsl +++ b/src/renderer/main.wgsl @@ -3,7 +3,7 @@ enable wgpu_binding_array; // Vertex shader bindings struct VertexOutput { @location(0) tex_coord: vec2, - @location(1) color: vec4, // linear + @location(1) color: vec4, @location(2) @interpolate(flat) texture_idx: u32, @location(3) @interpolate(flat) layer_idx: u32, @builtin(position) position: vec4,