-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Emissive is now LinearRgba on StandardMaterial #13352
Emissive is now LinearRgba on StandardMaterial #13352
Conversation
67cd64c
to
b92f7fd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There we go, that looks correct now. What needs to be done still?
7fde0d9
to
3bbf3bd
Compare
3bbf3bd
to
04dd81a
Compare
Just need to change the wording around the emissive so its not confusing |
ca4fd0b
to
6ef0701
Compare
This should be ready for review @alice-i-cecile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! just a few comments
Sorry, i was on vacation and will get to this soon! |
Thanks for letting us know :) I hope you had a lovely vacation! |
ea3526f
to
c77b5d6
Compare
8074e2e
to
fc21890
Compare
I think your comments have been addressed, please re-review when you have time @alice-i-cecile |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The values in the bloom_3d example got messed up. Other than that, this looks great :)
fc21890
to
414833f
Compare
This PR broke bloom, as you can see if you run example |
) # Objective - #13352 broke bloom in 3d ## Solution - Use the correct value for `emissive` in `StandardMaterial`. It's computed just above but unused https://github.com/bevyengine/bevy/blob/d87505899fc6adcb1a26550e921b0f5b0c351c57/crates/bevy_pbr/src/pbr_material.rs#L975-L976 ## Testing - Run example `bloom_3d`
Why did this PR change a bunch of examples to not use the |
StandardMaterial stores a LinearRgba instead of a Color for emissive
Fixes #13212