You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix the game being too dark when gamma ramps are not supported (on some GPUs or displays and in windowed mode) or disabled using r_ignorehwgamma 1. (SDL 3 is going to remove window gamma ramps altogether.) A simple option (compatible with all OpenGL versions) is drawing a white texture (1,1,1,1) with blend mode srcFactor=GL_DST_COLOR dstFactor=GL_ONE to effectively double the destination pixel values like done with overbright gamma ramps. Though I'm not sure about easy ways to supporting r_intensity and r_gamma.
The text was updated successfully, but these errors were encountered:
Fix the game being too dark when gamma ramps are not supported (on some GPUs or displays and in windowed mode) or disabled using r_ignorehwgamma 1. (SDL 3 is going to remove window gamma ramps altogether.) A simple option (compatible with all OpenGL versions) is drawing a white texture (1,1,1,1) with blend mode srcFactor=GL_DST_COLOR dstFactor=GL_ONE to effectively double the destination pixel values like done with overbright gamma ramps. Though I'm not sure about easy ways to supporting r_intensity and r_gamma.
The text was updated successfully, but these errors were encountered: