Issue with Setting White Primary Color in Background Material

I’m experiencing a problem where setting the primary color of the Background Material to White results in a gray color in the scene. Can anyone explain why this is happening and how to correctly set the color to white?

Playground: https://playground.babylonjs.com/#LRFB2D#553

Example - https://playground.babylonjs.com/#LRFB2D#554

1 Like

Thank you! In my example I also set the color White but it turns out it did not do the trick…

1 Like

I think the problem is linear/gamma color spaces, but I don’t know enough to explain it well :sweat_smile: Setting the color to (255,255,255) is basically blowing it up a ton so even with conversion it stays white… it could even be set to something lower like (5,5,5): Background Material can not be set to white | Babylon.js Playground (babylonjs.com)

2 Likes

The default env uses a special reflection cube map:

White means 1 * the color currently in the texture which explains what you see

2 Likes