mirror of
https://github.com/bevyengine/bevy
synced 2025-01-08 03:08:55 +00:00
0f54a82e3b
# Objective - `deferred_rendering` and `load_gltf` fail in WebGPU builds due to textureSample() being called on the diffuse environment map texture after non-uniform control flow ## Solution - The diffuse environment map texture only has one mip, so use `textureSampleLevel(..., 0.0)` to sample that mip and not require UV gradient calculation. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |