diff --git a/pipelined/bevy_pbr2/src/render/light.rs b/pipelined/bevy_pbr2/src/render/light.rs index 91127323b5f9b..ccb7bdc11e357 100644 --- a/pipelined/bevy_pbr2/src/render/light.rs +++ b/pipelined/bevy_pbr2/src/render/light.rs @@ -197,8 +197,8 @@ impl FromWorld for ShadowShaders { address_mode_u: AddressMode::ClampToEdge, address_mode_v: AddressMode::ClampToEdge, address_mode_w: AddressMode::ClampToEdge, - mag_filter: FilterMode::Linear, - min_filter: FilterMode::Linear, + mag_filter: FilterMode::Nearest, + min_filter: FilterMode::Nearest, mipmap_filter: FilterMode::Nearest, compare: Some(CompareFunction::LessEqual), ..Default::default() @@ -207,8 +207,8 @@ impl FromWorld for ShadowShaders { address_mode_u: AddressMode::ClampToEdge, address_mode_v: AddressMode::ClampToEdge, address_mode_w: AddressMode::ClampToEdge, - mag_filter: FilterMode::Linear, - min_filter: FilterMode::Linear, + mag_filter: FilterMode::Nearest, + min_filter: FilterMode::Nearest, mipmap_filter: FilterMode::Nearest, compare: Some(CompareFunction::LessEqual), ..Default::default() diff --git a/pipelined/bevy_pbr2/src/render/mod.rs b/pipelined/bevy_pbr2/src/render/mod.rs index 94d9f1507554d..0c03cc12d4ccf 100644 --- a/pipelined/bevy_pbr2/src/render/mod.rs +++ b/pipelined/bevy_pbr2/src/render/mod.rs @@ -89,7 +89,7 @@ impl FromWorld for PbrShaders { visibility: ShaderStage::FRAGMENT, ty: BindingType::Sampler { comparison: true, - filtering: true, + filtering: false, }, count: None, }, @@ -110,7 +110,7 @@ impl FromWorld for PbrShaders { visibility: ShaderStage::FRAGMENT, ty: BindingType::Sampler { comparison: true, - filtering: true, + filtering: false, }, count: None, },