Skip to content

Commit

Permalink
add a patch for the light patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Mar 13, 2024
1 parent b45077a commit 839bf75
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions patches/reduce-light-cluster-config--patch.patch
Original file line number Diff line number Diff line change
@@ -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 {

0 comments on commit 839bf75

Please sign in to comment.