Color mismatch for skybox and background in FrameLayout in Android #7427
Replies: 1 comment 1 reply
-
|
That's because filament works in HDR by default and applies tonemapping. Either use an inverse tonemapping function to compute your sky color, or use a linear tone mapper on the Color grading API. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Just have a little issue that I used scene.skybox to set the background color for surfaceview in android: scene.skybox = Skybox.Builder().color(1.0f, 1.0f, 1.0f, 1.0f).build(engine) . and I suppose it should be the same color as I set in xml:


however the colors were not match.
And I used FFFFFFFF for the rgba value and it should be the same value for Srgba and Linear type I think. Can someone help me out the reason of the color mismatch for the same value and thanks so much!.
Beta Was this translation helpful? Give feedback.
All reactions