mojira.dev
MC-307336

Colours appear very desaturated on macOS with Vulkan

When running the game under the Vulkan graphics backend on macOS, the colours of everything on screen appear extremely desaturated/washed out compared to when the game is run with OpenGL. This change is extremely noticeable and is quite jarring.

I’ve attached some images to provide a visual comparison, on the left you have OpenGL and on the right you have Vulkan. You can notice that the OpenGL screenshots are far more vibrant than their Vulkan counterparts.

This likely requires a Mac with P3 colour support to see the difference in-game.

Environment

14-inch MacBook Pro with M1 Pro Chip

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media][media][media][media][media]

I reported a similar issue to a mod that changed the games renderer to Vulkan previously, so I believe this is the same issue as that mod. An user discovered that there is an underlying issue in GLFW, see https://github.com/glfw/glfw/issues/2748. As I understand it, the OpenGL renderer doesn’t set the color space to sRGB, so macOS assumes that it is Display P3. When sRGB colors are interpreted as P3, they get saturated (because sRGB uses different primaries than Display P3). Therefore, this is technically a bug solved, not created.

That said, as a Mac user who has gotten used to saturated colors over the many years I’ve run Minecraft on a Display P3 Mac, I would kind of miss this look.

After some testing, it does seem that enabling VK_EXT_swapchain_colorspace and selecting the format with the VK_COLOR_SPACE_DISPLAY_P3_NONLINEAR_EXT colour space (and using the colour space when creating the swapchain) works and returns the colours to how they were in OpenGL.

AzureAaron

(Unassigned)

Unconfirmed

(Unassigned)

26.2-snapshot-1

Retrieved