Skip to content

Fix pbr example camera scale#15977

Merged
mockersf merged 1 commit intobevyengine:mainfrom
rparrett:fix-pbr
Oct 18, 2024
Merged

Fix pbr example camera scale#15977
mockersf merged 1 commit intobevyengine:mainfrom
rparrett:fix-pbr

Conversation

@rparrett
Copy link
Copy Markdown
Contributor

@rparrett rparrett commented Oct 18, 2024

Objective

Fixes #15976

Solution

I haven't been following the recent camera changes but on a whim I inverted the scale and it restored the old behavior.

It seems that a similar inversion was done when migrating the pixel_grid_snap example in #15976.

Testing

cargo run --example pbr

@IQuick143 IQuick143 added D-Trivial Nice and easy! A great choice to get started with Bevy A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Oct 18, 2024
@mockersf mockersf added this pull request to the merge queue Oct 18, 2024
Merged via the queue into bevyengine:main with commit 624f573 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-Rendering Drawing game state to the screen C-Examples An addition or correction to our examples D-Trivial Nice and easy! A great choice to get started with Bevy S-Needs-Review Needs reviewer attention (from anyone!) to move forward

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

pbr example 3d camera doesn't render anything

3 participants