bevy/crates/bevy_pbr/src/prepass
Edgar Geier e03dd4d695
Run update_previous_view_projections in PreUpdate schedule (#9024)
# Objective

- Fixes #8630.

## Solution

Since a camera's view and projection matrices are modified during
`PostUpdate` in `camera_system` and `propagate_transforms`, it is fine
to move `update_previous_view_projections` from `Update` to `PreUpdate`.
Doing so adds consistence with `update_mesh_previous_global_transforms`
and allows systems in `Update` to use `PreviousViewProjection` correctly
without explicit ordering.
2023-07-05 15:51:19 +00:00
..
mod.rs Run update_previous_view_projections in PreUpdate schedule (#9024) 2023-07-05 15:51:19 +00:00
prepass.wgsl Fix morph target prepass shader (#9013) 2023-07-02 06:41:26 +00:00
prepass_bindings.wgsl improve shader import model (#5703) 2023-06-27 00:29:22 +00:00
prepass_utils.wgsl Fix black spots appearing due to NANs when SSAO is enabled (#8926) 2023-07-01 21:29:13 +00:00