cameraEffects: do the tone mapping operation before the color conversion#1912
cameraEffects: do the tone mapping operation before the color conversion#1912illwieckz wants to merge 1 commit intofor-0.56.0/syncfrom
Conversation
|
We may re-evaluate the change of HDR Max from 8 to 2 and see if we need to revert it: It looks like there was indeed a bug in our code modifying the render in an unexpected way, and that my diagnostic from #1865 was right: |
I've done some tests with very bright maps like Xoylent or maps with very bright parts like Parpax, and 2 looks good. We may reconsider it the day we have HDR lightmaps. |
f4a168b to
b1f6da7
Compare
|
Hmm, indeed it was said to be for linear inputs: #1550 (comment) |
|
When I rebased the sRGB branch over the tone mapping code, we all knew the tone mapper had to be set before the color conversion, and that's what I did first, then somehow we got collectively convinced about the other way in the Chat while all knowing it was wrong. Well, I found the log: We were just screwed by screenshots I guess, and some wrong assumptions have been made. So we're back at the same place we were back in July of last year. When doing the tone mapper before the color conversion, things turn dark very quickly, which is somewhat avoided when doing the wrongness of moving the tone mapper after the color conversion, but then the high light look weird, etc. At least we can stop doing the faulty thing of doing the tone mapping after the conversion, but that doesn't address the concern we had 7 months ago that something looks weird when the tone mapper is enabled. It still looks weird. That thread was already wondering if we needed a different configuration for the tone mapper. |
b1f6da7 to
b7431f1
Compare
Do the tone mapping operation before the color conversion.
The author of the tone mapper we implement said it sould be done this way:
Other authorities on the topic said the same: