anegostudios / VintageStory-Issues

Vintage Story's public issue tracker for reporting bugs, crashes and the like
47 stars 16 forks source link

MacBook Pro M1 MacOS Sequoia - Everything has a blue-ish tint (incorrect colors) #4327

Open Matrix-aas opened 1 month ago

Matrix-aas commented 1 month ago

Game Version

v1.20 pre6

Platform

Mac

Modded

Vanilla

SP/MP

Singleplayer

Description

The game starts and works fine, but the colors inside the game world are "inverted", the blocks are blue. Also, when I hover over any block, the entire in-game interface disappears completely (became invisible, including the ESC pause menu).

How to reproduce

1) Launch the game

2) Get upset by what you see

3) Touch all the settings and realize that nothing can be changed

Screenshots

image image image
Matrix-aas commented 1 month ago

This issue was previously known in Minecraft. Red and Blue colors flipped on Mac M1 (M-Silicone).

https://github.com/PrismLauncher/PrismLauncher/issues/698

https://www.reddit.com/r/GoldenAgeMinecraft/comments/zjki8k/beta_173_red_and_blue_colors_flipped_on_mac_m1/

https://www.minecraftforum.net/forums/support/java-edition-support/3049963-red-and-blue-colors-seem-to-be-inverted

perkthefox commented 1 month ago

Same problem for me

Matrix-aas commented 1 month ago

(In version 1.20.0-pre.7 the bug is still present)

Matrix-aas commented 2 weeks ago

The fix I found in the Minecraft patch is:

if (GL11.glGetString(GL11.GL_RENDERER).contains("Apple M")) {
    GL11.glEnable(GL30.GL_FRAMEBUFFER_SRGB);
}

Maybe if this helps the devs can add it for VS too?

Hibagon74 commented 1 week ago

I'm running a 2019 MacBook Pro with Intel processor and am seeing this as well.

tyronx commented 9 hours ago

Hey, thanks for the info! I'll add aformentioned 3 lines of code to the next release of VS but i cannot test it. Do close the ticket if it fixes it.