bevyengine / bevyengine/bevy

PCSS samples depth with linear sampler which is poorly supported

Open
#23,977 0 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug C-Usability S-Needs-Design
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features

main

## What went wrong

If `experimental_pbr_pcss` is enabled, shadow textures are sampled with linear sampler, which is disallowed on webgpu and may devices, and this is a wgpu bug that validation is missing.

See also https://github.com/bevyengine/bevy/issues/23965

We can either emulate linear filtering sampling, or use other methods (comparison samplers support linear filtering) but I'm not sure.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.