Skip to content
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

Enable HDR support (32 bit framebuffer) #3166

Open
TRGRally opened this issue Dec 21, 2019 · 2 comments
Open

Enable HDR support (32 bit framebuffer) #3166

TRGRally opened this issue Dec 21, 2019 · 2 comments

Comments

@TRGRally
Copy link

Optifine uses a hard coded 24 bit framebuffer which does not support HDR. If Optifine were to use a 32 bit framebuffer it would lead to higher visual fidelity and a more accurate colour representation on true 10 bit monitors by allowing shaders to output in this colourspace.

Currently, if shader developers use rgba32f the output is still 24 bit when it reaches the view of the player resulting in SDR which is non-optimal for users with 10 bit panels and can feel underwhelming compared to other games with HDR support.

I am unsure how easy or hard this would be to implement but by lifting the hard cap used by Optifine when displaying to the screen from 24 bit to 32 (or enabling the shader developer to choose for themselves) would solve this problem.

-If this is buried so be it.

@lululombard
Copy link

Also agree with this, I'm playing on an OLED TV and I feel like HDR is missing especially when playing with shaders, it would be a great addition

@IMS212
Copy link

IMS212 commented Jan 24, 2022

This is impossible with OpenGL currently, as it does not support creating an HDR window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants