bevy/crates/bevy_pbr/src
JMS55 267b57e565
Meshlet normal-aware LOD and meshoptimizer upgrade (#16111)
# Objective

- Choose LOD based on normal simplification error in addition to
position error
- Update meshoptimizer to 0.22, which has a bunch of simplifier
improvements

## Testing

- Did you test these changes? If so, how?
- Visualize normals, and compare LOD changes before and after. Normals
no longer visibly change as the LOD cut changes.
- Are there any parts that need more testing?
  - No
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
- Run the meshlet example in this PR and on main and move around to
change the LOD cut. Before running each example, in
meshlet_mesh_material.wgsl, replace `let color = vec3(rand_f(&rng),
rand_f(&rng), rand_f(&rng));` with `let color =
(vertex_output.world_normal + 1.0) / 2.0;`. Make sure to download the
appropriate bunny asset for each branch!
2024-11-04 15:20:22 +00:00
..
cluster Reduce the clusterable object UBO size below 16384 for WebGL 2. (#16069) 2024-10-24 21:00:11 +00:00
deferred Fix lightmaps break when deferred rendering is enabled (#14599) 2024-10-18 23:18:11 +00:00
light Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
light_probe Implement WorldQuery for MainWorld and RenderWorld components (#15745) 2024-10-13 20:58:46 +00:00
lightmap Type safe retained render world (#15756) 2024-10-10 18:47:04 +00:00
meshlet Meshlet normal-aware LOD and meshoptimizer upgrade (#16111) 2024-11-04 15:20:22 +00:00
prepass Meshlet fill cluster buffers rewritten (#15955) 2024-10-23 19:18:49 +00:00
render Adding alpha_threshold to OrderIndependentTransparencySettings for user-level optimization (#16090) 2024-10-27 19:08:34 +00:00
ssao Remove components if not extracted (#15948) 2024-10-19 15:13:39 +00:00
ssr Migrate reflection probes to required components (#15737) 2024-10-08 23:59:27 +00:00
volumetric_fog Remove components if not extracted (#15948) 2024-10-19 15:13:39 +00:00
bundle.rs Type safe retained render world (#15756) 2024-10-10 18:47:04 +00:00
extended_material.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
fog.rs Migrate cameras to required components (#15641) 2024-10-05 01:59:52 +00:00
lib.rs Remove components if not extracted (#15948) 2024-10-19 15:13:39 +00:00
material.rs Revert default mesh materials (#15930) 2024-10-15 19:47:40 +00:00
mesh_material.rs Revert default mesh materials (#15930) 2024-10-15 19:47:40 +00:00
parallax.rs bevy_reflect: FromReflect Ergonomics Implementation (#6056) 2023-06-29 01:31:34 +00:00
pbr_material.rs Use en-us locale for typos (#16037) 2024-10-20 18:55:17 +00:00
wireframe.rs Revert "Have EntityCommands methods consume self for easier chaining" (#15523) 2024-10-02 12:47:26 +00:00