From 839bf75d2413c9c89b86e16848fad99707273a9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Wed, 13 Mar 2024 07:56:17 +0100 Subject: [PATCH] add a patch for the light patch --- .../reduce-light-cluster-config--patch.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 patches/reduce-light-cluster-config--patch.patch diff --git a/patches/reduce-light-cluster-config--patch.patch b/patches/reduce-light-cluster-config--patch.patch new file mode 100644 index 0000000..41a69de --- /dev/null +++ b/patches/reduce-light-cluster-config--patch.patch @@ -0,0 +1,18 @@ +diff --git a/tools/example-showcase/reduce-light-cluster-config.patch b/tools/example-showcase/reduce-light-cluster-config.patch +index b4048a2ad..530c091cd 100644 +--- a/tools/example-showcase/reduce-light-cluster-config.patch ++++ b/tools/example-showcase/reduce-light-cluster-config.patch +@@ -1,8 +1,8 @@ +-diff --git a/crates/bevy_pbr/src/light.rs b/crates/bevy_pbr/src/light.rs +-index 3e8c0d451..07aa7d586 100644 +---- a/crates/bevy_pbr/src/light.rs +-+++ b/crates/bevy_pbr/src/light.rs +-@@ -694,8 +694,8 @@ impl Default for ClusterConfig { ++diff --git a/crates/bevy_pbr/src/light/mod.rs b/crates/bevy_pbr/src/light/mod.rs ++index 5d6be4fcf..fe20a5dc5 100644 ++--- a/crates/bevy_pbr/src/light/mod.rs +++++ b/crates/bevy_pbr/src/light/mod.rs ++@@ -759,8 +759,8 @@ impl Default for ClusterConfig { + // 24 depth slices, square clusters with at most 4096 total clusters + // use max light distance as clusters max `Z`-depth, first slice extends to 5.0 + Self::FixedZ {