-
Notifications
You must be signed in to change notification settings - Fork 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
[NOSQUASH] Fix tonemapping and apply saturation even if tonemapping is disabled #14109
Changes from all commits
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 |
---|---|---|
|
@@ -8028,9 +8028,8 @@ child will follow movement and rotation of that bone. | |
* Passing no arguments resets lighting to its default values. | ||
* `light_definition` is a table with the following optional fields: | ||
* `saturation` sets the saturation (vividness; default: `1.0`). | ||
values > 1 increase the saturation | ||
values in [0,1) decrease the saturation | ||
* This value has no effect on clients who have the "Tone Mapping" shader disabled. | ||
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 still has no effect if shaders are disabled entirely |
||
* values > 1 increase the saturation | ||
* values in [0,1] decrease the saturation | ||
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. Actually that was meant to read [0,1). In math ')' denotes the end of an interval excluding the end value. 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. Please write that out, don't rely on math notation like that 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. Fair enough. |
||
* `shadows` is a table that controls ambient shadows | ||
* `intensity` sets the intensity of the shadows from 0 (no shadows, default) to 1 (blackness) | ||
* This value has no effect on clients who have the "Dynamic Shadows" shader disabled. | ||
|
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.
These constants come out of nowhere somehow.
In any case I looked up the original commit (9df79a4) that changed this behavior, and these constants were there before.
So that's good then as long as we're happy with the visual outcome - which I think we are.