-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Disable HDR #7966
Comments
+1 |
I agree as well, I feel like HDR went in prematurely and it needs a lot more thought to be enabled by default. It affects too many things in unintended ways. |
Agree to turn it off by default. I would think this includes glTF PBR models but that is up to @lilleyse. |
I made a quick sandcastle example to see the differences between HDR and non-HDR cesium. From what I noticed, disabling HDR makes cesium look cartoon-ish and models have harsh shadows. It might be worthwhile to:
|
Just seeing how washed out the milk truck looks with HDR disabled I think it will be a good idea to add tonemapping to the PBR shader when HDR is disabled. |
And both the atmsophere and shadows can be tweaked when HDR is disabled. |
The reason it looks washed out is because of our PBR shader is trying to output HDR values right? These equations were created with HDR in mind for example: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Scene/processPbrMaterials.js#L787-L790 |
HDR was disabled by default in #8055 |
There have been many issues related to HDR causing imagery to appear darker in Cesium:
Personally I do not think HDR provides enough (or any) of a visual quality improvement to justify being on by default. The problem is very little of the Cesium rendering engine outputs high dynamic range values so tone-mapping is ineffective and only darkens the scene.
We should consider disabling it on everything but PBR glTF 2.0 models, where the tonemapping would just be part of the PBR shader.
The text was updated successfully, but these errors were encountered: