bevy/crates/bevy_pbr/src
Robert Swain 0f54a82e3b
Fix sampling of diffuse env map texture with non-uniform control flow (#10276)
# 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.
2023-10-27 01:35:19 +00:00
..
deferred WebGL2: fix import path for unpack_unorm3x4_plus_unorm_20_ (#10251) 2023-10-25 00:18:45 +00:00
environment_map Fix sampling of diffuse env map texture with non-uniform control flow (#10276) 2023-10-27 01:35:19 +00:00
prepass Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00
render Image Sampler Improvements (#10254) 2023-10-26 23:30:09 +00:00
ssao Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00
alpha.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
bundle.rs Fix a typo in DirectionalLightBundle (#9861) 2023-09-20 04:44:56 +00:00
extended_material.rs allow extensions to StandardMaterial (#7820) 2023-10-17 21:28:08 +00:00
fog.rs chore: use ExtractComponent derive macro for EnvironmentMapLight and FogSettings (#10191) 2023-10-19 20:18:33 +00:00
lib.rs View Transformations (#9726) 2023-10-24 21:26:19 +00:00
light.rs Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00
material.rs Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Image Sampler Improvements (#10254) 2023-10-26 23:30:09 +00:00
wireframe.rs Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00