From 8b9cbae5f452900cc3b9297ef0a9f46956a2733e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Thu, 2 Dec 2021 14:40:34 +0100 Subject: [PATCH] make texture from sprite pipeline 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 41fa90b419be4..ee877ff926eae 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,