-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Out-of-gamut colors produced by inverse tone mapping cause hue shifts #3909
Comments
Can you define "incorrectly" please? What's the expected output and the actual output? This function will be exact if you choose the FILMIC tone mapper in the ColorGrading API. It will be an approximation with other tone mappers. |
It should be blue, the approximation should not cause this. |
Oh never mind I understand what's going on. It's a hue skew caused by out of gamut colors. You can workaround the problem for now by using the |
Thank you for the quick reply! |
@romainguy any ETA on this issue? |
No ETA yet. It's probably going to be a while. |
Sorry for asking it again but we are updating to the last 1.10.6 and we'd like to know if we can suppress our workaround: filamentView.setColorGrading(
new ColorGrading.Builder()
.toneMapping(ColorGrading.ToneMapping.FILMIC)
.build(EngineInstance.getEngine().getFilamentEngine())
); |
Hello!
As stated in this issue in the maintained Sceneform repository (SceneView/sceneform-android#60) the
inverseTonemapSRGB
function makes the colors with the full pixel intensity appear incorrectly. Is it because theinverseTonemapSRGB
function is an approximation and isn't suitable for converting colors from the sRGB space to the linear space (I think that is why it is used in theViewRenderable
material in Sceneform)?The text was updated successfully, but these errors were encountered: