diff --git a/assets/shaders/entity_world.wgsl b/assets/shaders/entity_world.wgsl index 8584583..075fb61 100644 --- a/assets/shaders/entity_world.wgsl +++ b/assets/shaders/entity_world.wgsl @@ -43,8 +43,8 @@ struct EntityInput struct VertexOutput { @builtin(position) Position: vec4, @location(0) TexCoord : vec2, - @location(1) image_index : u32, - @location(2) color_table_index : u32, + @location(1) @interpolate(flat) image_index : u32, + @location(2) @interpolate(flat) color_table_index : u32, @location(3) ColorTablePos : vec2, }