bevy/crates/bevy_pbr/src
Carter Anderson 90958104cb
Ensure instance_index push constant is always used in prepass.wgsl (#10706)
# Objective

 Kind of helps #10509 

## Solution

Add a line to `prepass.wgsl` that ensure the `instance_index` push
constant is always used on WebGL 2. This is not a full fix, as the
_second_ a custom shader is used that doesn't use the push constant, the
breakage will resurface. We have satisfying medium term and long term
solutions. This is just a short term hack for 0.12.1 that will make more
cases work. See #10509 for more details.
2023-11-28 01:13:25 +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 Ensure instance_index push constant is always used in prepass.wgsl (#10706) 2023-11-28 01:13:25 +00:00
render Ensure instance_index push constant is always used in prepass.wgsl (#10706) 2023-11-28 01:13:25 +00: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-15 12:48:36 +00:00
fog.rs chore: use ExtractComponent derive macro for EnvironmentMapLight and FogSettings (#10191) 2023-10-19 20:18:33 +00:00
lib.rs Add [lints] table, fix adding #![allow(clippy::type_complexity)] everywhere (#10011) 2023-11-18 20:58:48 +00:00
light.rs Explain how AmbientLight is inserted and configured (#10712) 2023-11-24 00:07:58 +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 Register WireframeColor (#10486) 2023-11-12 17:07:15 +00:00