bevy/crates/bevy_pbr/src
robtfm 3cf377c490 Non uniform transmission samples (#10674)
# Objective

fix webgpu+chrome(119) textureSample in non-uniform control flow error

## Solution

modify view transmission texture sampling to use textureSampleLevel.
there are no mips for the view transmission texture, so this doesn't
change the result, but it removes the need for the samples to be in
uniform control flow.

note: in future we may add a mipchain to the transmission texture to
improve the blur effect. if uniformity analysis hasn't improved, this
would require switching to manual derivative calculations (which is
something we plan to do anyway).
2023-11-29 16:53:10 -08: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 Fix bevy_pbr shader function name (#10423) 2023-11-29 16:40:19 -08:00
render Non uniform transmission samples (#10674) 2023-11-29 16:53:10 -08:00
ssao StandardMaterial Light Transmission (#8015) 2023-10-31 20:59:02 +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 Ensure ExtendedMaterial works with reflection (to enable bevy_egui_inspector integration) (#10548) 2023-11-29 16:45:06 -08:00
fog.rs chore: use ExtractComponent derive macro for EnvironmentMapLight and FogSettings (#10191) 2023-10-19 20:18:33 +00:00
lib.rs Make DirectionalLight Cascades computation generic over CameraProjection (#9226) 2023-11-03 06:07:59 +00:00
light.rs Make DirectionalLight Cascades computation generic over CameraProjection (#9226) 2023-11-03 06:07:59 +00:00
material.rs StandardMaterial Light Transmission (#8015) 2023-10-31 20:59:02 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs StandardMaterial Light Transmission (#8015) 2023-10-31 20:59:02 +00:00
wireframe.rs Use wildcard imports in bevy_pbr (#9847) 2023-10-25 08:40:55 +00:00