From 4423a2fa2dc82fad71525ed3f44e16b8481a4902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 2 Dec 2021 23:56:44 +0000 Subject: [PATCH] make texture from sprite pipeline filterable (#3236) # Objective - Fix #3235 ## Solution - in `sprite_pipeline`, make the texture filterable --- pipelined/bevy_sprite2/src/render/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipelined/bevy_sprite2/src/render/mod.rs b/pipelined/bevy_sprite2/src/render/mod.rs index 41fa90b419..ee877ff926 100644 --- a/pipelined/bevy_sprite2/src/render/mod.rs +++ b/pipelined/bevy_sprite2/src/render/mod.rs @@ -58,7 +58,7 @@ impl FromWorld for SpritePipeline { visibility: ShaderStages::FRAGMENT, ty: BindingType::Texture { multisampled: false, - sample_type: TextureSampleType::Float { filterable: false }, + sample_type: TextureSampleType::Float { filterable: true }, view_dimension: TextureViewDimension::D2, }, count: None,