-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Change defaults for Tonemapping based on tonemapping_luts feature
#20924
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
base: main
Are you sure you want to change the base?
Changes from 5 commits
eb60256
5cce86e
5cdc356
b7c15fb
d6e53b6
c55b3b4
a8a04cf
deef37f
fdce39b
729365a
0ac183c
23a86bb
eb2d3aa
55afc76
115dcf8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2107,9 +2107,12 @@ bitflags::bitflags! { | |
| const TONEMAP_METHOD_REINHARD = 1 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| const TONEMAP_METHOD_REINHARD_LUMINANCE = 2 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| const TONEMAP_METHOD_ACES_FITTED = 3 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| #[cfg(feature = "tonemapping_luts")] | ||
| const TONEMAP_METHOD_AGX = 4 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| const TONEMAP_METHOD_SOMEWHAT_BORING_DISPLAY_TRANSFORM = 5 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| #[cfg(feature = "tonemapping_luts")] | ||
| const TONEMAP_METHOD_TONY_MC_MAPFACE = 6 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
| #[cfg(feature = "tonemapping_luts")] | ||
| const TONEMAP_METHOD_BLENDER_FILMIC = 7 << Self::TONEMAP_METHOD_SHIFT_BITS; | ||
|
Comment on lines
2109
to
2116
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i am moving forwards with the asumption that yes There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really sure of all the implications. Who/what all might depend on them existing. I would guess if they have the feature disabled they're being conscious about things like this missing. Not sure how it would affect plugins that expect them to be there or something. Might be better to resolve at runtime. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would at least be nice to use |
||
| const SHADOW_FILTER_METHOD_RESERVED_BITS = Self::SHADOW_FILTER_METHOD_MASK_BITS << Self::SHADOW_FILTER_METHOD_SHIFT_BITS; | ||
| const SHADOW_FILTER_METHOD_HARDWARE_2X2 = 0 << Self::SHADOW_FILTER_METHOD_SHIFT_BITS; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: `Tonemapping` modes `TonyMcMapface`, `BlenderFilmic`, and `AgX` are now gated behind `tonemapping_luts` | ||
| pull_requests: [20924] | ||
| --- | ||
|
|
||
| `Tonemapping` mode `TonyMcMapface`, `BlenderFilmic`, and `AgX` are now only present with the `tonemapping_luts` | ||
| instead of having a notice on the documentation and logging an error during runtime. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| title: Different defaults for `Tonemapping` based on `tonemapping_luts` feature | ||
| pull_requests: [20924] | ||
| --- | ||
|
|
||
| `Tonemapping` component now has a different defaults based on `tonemappint_luts` feature. | ||
| When `tonemapping_luts` is present the default remains `TonyMcMapface`, but when it is off | ||
| the default is now `None`. |
Uh oh!
There was an error while loading. Please reload this page.