Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a patch for the light patch #28

Merged
merged 1 commit into from Mar 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions 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 {