Skip to content

Commit

Permalink
make texture from sprite pipeline filterable (#3236)
Browse files Browse the repository at this point in the history
# Objective

- Fix #3235

## Solution

- in `sprite_pipeline`, make the texture filterable
  • Loading branch information
mockersf committed Dec 2, 2021
1 parent c6fec1f commit 4423a2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelined/bevy_sprite2/src/render/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4423a2f

Please sign in to comment.