-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Exposure settings (adopted) #11347
Merged
Merged
Exposure settings (adopted) #11347
Changes from 3 commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
432c427
Implement basic exposure settings
superdump 8fa78a9
WIP: Test exposure settings in lighting example
superdump cbeed57
Merge commit 'af0323a55e9cbfe28262fd500fbe21f8cf4c8ee4' into exposure…
JMS55 0cfbfd7
Rebase fixes
JMS55 ef62d30
Switch ExposureSettings to hold an EV100 value, improve example.
JMS55 f5c4166
Misc
JMS55 ce69ab2
Apply PR feedback
JMS55 e144815
Add brightness control to Skybox
JMS55 56bb844
Apply exposure to skybox
JMS55 4dd2ede
Add EnvironmentMapLight::brightness
JMS55 64bcfa8
Add misc todo
JMS55 f9e0730
Misc rename, example fixes
JMS55 c42824e
Docs
JMS55 71860bb
Fix shader
JMS55 7dc7966
Merge commit '02025eff0b25bb8c18103dbafc33a764e1989ad4' into exposure…
JMS55 f78a0af
Merge pull request #32 from JMS55/exposure_jms
superdump f0ee3d6
Merge commit '35073cf7aa9eaf748e167c103921a6764fcedfb1' into exposure…
JMS55 7544e2f
Merge commit 'f0ee3d6aa53b6e03229dccee44eeadc1bf03a351' into exposure…
JMS55 0e37bed
Merge commit 'ca1874e6c612d73306173065242aaaa8733c9b20' into exposure…
JMS55 e325da3
Rebase fixes
JMS55 ac2c148
Input -> ButtonInput
GitGhillie b1c0ddd
Change default exposure to indoor
GitGhillie 540ab66
Adjust a few examples
GitGhillie d04ad9a
Adjust PhysicalCameraParameters to an exposure of roughly 7 as well
GitGhillie dc61b42
adjust lighting example by changing the initial exposure
GitGhillie 479223a
increase point light intensity in lighting example
GitGhillie 6cf0423
Adjust default ambient light
GitGhillie f67e704
Adjust 3d examples
GitGhillie 2d2f95d
Adjust some more 3d examples
GitGhillie 81e7c25
Adjust some more 3d examples part 3
GitGhillie 418ec05
Adjust some more 3d examples part 4
GitGhillie ec1ddfb
Adjust some more 3d examples part 5
GitGhillie a7e0831
Adjust some more 3d examples part 6
GitGhillie ad4fe6d
Merge commit '8067e46049f222d37ac394745805bad98979980f' into exposure…
JMS55 e969d5e
Compensate for exposure after fetching transmission background color
coreh f743dce
Adjust transmission example
coreh 874ea8c
Remove `ColorGrading` exposure as a workaround for `EnvironmentMapLig…
coreh 0d4006e
Also tweak look of emissive flame in transmission example
coreh edfb721
Adjust some more 3d examples part 7
GitGhillie 404a98d
Merge pull request #1 from coreh/exposure_jms
GitGhillie 5f92b44
Adjust some more 3d examples part 8
GitGhillie 9968173
Adjust some more 3d examples part 9 (fin)
GitGhillie bbd6532
fmt
GitGhillie a6d9076
Take exposure into account for directional light influence in fog
coreh c276a80
Merge pull request #2 from coreh/exposure-fog-fix
GitGhillie 012d33e
Merge commit 'c276a80e3df0ca13bf38154f3d6b2667b96af7c1' into exposure…
JMS55 da12108
Merge commit '8a523de8db28bfdc5b2a4c67c2022cc957075de6' into exposure…
JMS55 e00f0ad
Fix doc
JMS55 5cd197b
Fix example keycodes
JMS55 d892d5d
Update crates/bevy_render/src/camera/camera.rs
JMS55 07ccccd
Format
JMS55 24c9953
Update crates/bevy_render/src/camera/camera.rs
JMS55 2a52b6a
Update crates/bevy_render/src/camera/camera.rs
JMS55 fab6f87
Improve doc comment
JMS55 fd91b58
Fix lightmaps example
atlv24 cc11b23
Merge pull request #20 from rodolphito/exposure
JMS55 e0f3e9c
more fixing ...
atlv24 55444b4
Fix fix fix
atlv24 a7b22be
Merge pull request #21 from rodolphito/exposure2
JMS55 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is there a (non-zero) default value for the ambient light? Because it doesn't seem like inserting a light with brightness set to zero should actually do much of anything
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.
Yes, the default is 0.005 or something. If you don't want any ambient light (using lightmaps or IBL instead), then you need to override it to be 0 like this.
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.
Yes it has a non-zero default. https://github.com/bevyengine/bevy/blob/main/crates/bevy_pbr/src/light.rs#L550