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

revert PointLightBundle to DirectionalLightBundle change made to asset_loading example between 0.12.1 and 0.13.0 #11935

Merged

Conversation

awwsmm
Copy link
Contributor

@awwsmm awwsmm commented Feb 18, 2024

Objective

  • revert a single-line change made to examples/asset/asset_loading example between v0.12.1 release and v0.13.0 release which resulted in a too-bright, washed-out rendering

Solution

  • reverted the changes made to this example between v0.12.1 and v0.13.0

Copy link
Contributor

Welcome, new contributor!

Please make sure you've read our contributing guide and we look forward to reviewing your pull request shortly ✨

@awwsmm
Copy link
Contributor Author

awwsmm commented Feb 18, 2024

Complete diff of this example between v0.12.1 and v0.13.0

diff --git a/examples/asset/asset_loading.rs b/examples/asset/asset_loading.rs
index 6a931dc62..24b912597 100644
--- a/examples/asset/asset_loading.rs
+++ b/examples/asset/asset_loading.rs
@@ -79,8 +79,8 @@ fn setup(
         ..default()
     });
     // light
-    commands.spawn(PointLightBundle {
-        transform: Transform::from_xyz(4.0, 5.0, 4.0),
+    commands.spawn(DirectionalLightBundle {
+        transform: Transform::from_xyz(4.0, 5.0, 4.0).looking_at(Vec3::ZERO, Vec3::Y),
         ..default()
     });
     // camera

Rendered example as of v0.12.1

v0 12 1

Rendered example as of v0.13.0

v0 13 0_directional

Rendered example with the changes in this PR (revert to v0.12.1)

v0 13 0_point

@alice-i-cecile alice-i-cecile added A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples A-Assets Load files from disk to use for things like images, models, and sounds S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Feb 18, 2024
@james7132 james7132 added this pull request to the merge queue Feb 18, 2024
Merged via the queue into bevyengine:main with commit 412fd64 Feb 18, 2024
28 checks passed
@hymm hymm added this to the 0.13.1 milestone Feb 18, 2024
@awwsmm awwsmm deleted the examples-asset_loading-revert-LightBundle branch February 18, 2024 12:46
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
…t_loading example between 0.12.1 and 0.13.0 (bevyengine#11935)

# Objective

- revert a single-line change made to `examples/asset/asset_loading`
example between `v0.12.1` release and `v0.13.0` release which resulted
in a too-bright, washed-out rendering

## Solution

- reverted the changes made to this example between `v0.12.1` and
`v0.13.0`
msvbg pushed a commit to msvbg/bevy that referenced this pull request Feb 26, 2024
…t_loading example between 0.12.1 and 0.13.0 (bevyengine#11935)

# Objective

- revert a single-line change made to `examples/asset/asset_loading`
example between `v0.12.1` release and `v0.13.0` release which resulted
in a too-bright, washed-out rendering

## Solution

- reverted the changes made to this example between `v0.12.1` and
`v0.13.0`
mockersf pushed a commit that referenced this pull request Feb 27, 2024
…t_loading example between 0.12.1 and 0.13.0 (#11935)

# Objective

- revert a single-line change made to `examples/asset/asset_loading`
example between `v0.12.1` release and `v0.13.0` release which resulted
in a too-bright, washed-out rendering

## Solution

- reverted the changes made to this example between `v0.12.1` and
`v0.13.0`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Assets Load files from disk to use for things like images, models, and sounds A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants