Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix num_cascades in split_screen exmample for WebGL (#14601)
# Objective - Fixes #14595 ## Solution - Use `num_cascades: 1` in WebGL build. `CascadeShadowConfigBuilder::default()` gives this number in WebGL: https://github.com/bevyengine/bevy/blob/8235daaea0e3aa930e34c57887e1ffea08a8150a/crates/bevy_pbr/src/light/mod.rs#L241-L248 ## Testing - Tested the modified example in WebGL with Firefox/Chrome --------- Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
- Loading branch information