Update gamma values to better suit OpenXR build

This commit is contained in:
Petr Bartos 2022-05-07 13:56:03 +02:00
parent 325641f90e
commit 7f89d6d19b
4 changed files with 5 additions and 5 deletions

View File

@ -709,8 +709,8 @@ void GraphicsOptions_MenuInit( void )
s_graphicsoptions.gamma.generic.y = y;
s_graphicsoptions.gamma.generic.callback = GraphicsOptions_Event;
s_graphicsoptions.gamma.generic.id = ID_GAMMA;
s_graphicsoptions.gamma.minvalue = 0.8f;
s_graphicsoptions.gamma.maxvalue = 1.2f;
s_graphicsoptions.gamma.minvalue = 0.6f;
s_graphicsoptions.gamma.maxvalue = 1.0f;
y += BIGCHAR_HEIGHT+2;
// references "cg_oldRail"

View File

@ -1322,7 +1322,7 @@ void R_Register( void )
r_textureMode = ri.Cvar_Get( "r_textureMode", "GL_LINEAR_MIPMAP_LINEAR", CVAR_ARCHIVE );
r_swapInterval = ri.Cvar_Get( "r_swapInterval", "0",
CVAR_ARCHIVE | CVAR_LATCH );
r_gamma = ri.Cvar_Get( "r_gamma", "1", CVAR_ARCHIVE );
r_gamma = ri.Cvar_Get( "r_gamma", "0.8", CVAR_ARCHIVE );
r_facePlaneCull = ri.Cvar_Get ("r_facePlaneCull", "1", CVAR_ARCHIVE );
r_railWidth = ri.Cvar_Get( "r_railWidth", "16", CVAR_ARCHIVE );

View File

@ -199,7 +199,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Brightness:"
cvarfloat "r_gamma" 0.05 0.8 1.2
cvarfloat "r_gamma" 0.05 0.6 1.0
rect 0 70 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 133

View File

@ -102,7 +102,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Brightness:"
cvarfloat "r_gamma" 0.05 0.8 1.2
cvarfloat "r_gamma" 0.05 0.6 1.0
rect 99 67 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 128