add stuff the experimental video stuff

idk description could be better but i suck at writing lmao

those three things were introduced back in v.5.3  internal (before release) which was the version which had some performance regression

those were looked into and from my testing saturn often performs better than vanilla

however those features still may tax computers from others, so i decided to make toggles for those things
This commit is contained in:
Alug committed 2023-11-27 05:35:20 +01:00
1 parent 51de2a4610
commit cc996759be
1 file changed
+13
+13
View File
@@ -1438,6 +1438,10 @@ static menuitem_t OP_ExpOptionsMenu[] =
#ifdef HWRENDER
{IT_STRING | IT_CVAR, NULL, "Screen Textures", &cv_grscreentextures, 75},
{IT_STRING | IT_CVAR, NULL, "VHS effect", &cv_grvhseffect, 85},
{IT_STRING | IT_CVAR, NULL, "Splitwall/Slope texture fix", &cv_splitwallfix, 105},
{IT_STRING | IT_CVAR, NULL, "Slope midtexture peg fix", &cv_slopepegfix, 115},
{IT_STRING | IT_CVAR, NULL, "ZFighting fix for fofs", &cv_fofzfightfix, 125},
#endif
};
@@ -1450,6 +1454,9 @@ static const char* OP_ExpTooltips[] =
#ifdef HWRENDER
"Should the game do Screen Textures? Provides a good boost to frames\nat the cost of some visual effects not working when disabled.",
"Show a VHS-like effect when the game is paused or youre rewinding replays.",
"Fixes issues that resulted in Textures sticking from the ground sometimes.\n This may be CPU heavy and result in worse performance in some cases.",
"Fixes issues that resulted in Textures not being properly skewed\n example: Fences on slopes that didnt show proper.\n This may be CPU heavy and result in worse performance in some cases.",
"Fixes issues that resulted in Textures on Floor over Floors ZFighting heavily.",
#endif
};
@@ -1462,6 +1469,9 @@ enum
#ifdef HWRENDER
op_exp_grscrtx,
op_exp_grvhs,
op_exp_spltwal,
op_exp_pegging,
op_exp_fofzfight,
#endif
};
@@ -4351,6 +4361,9 @@ void M_Init(void)
OP_VideoOptionsMenu[op_video_ogl].status = IT_DISABLED;
OP_ExpOptionsMenu[op_exp_grscrtx].status = IT_DISABLED;
OP_ExpOptionsMenu[op_exp_grvhs].status = IT_DISABLED;
OP_ExpOptionsMenu[op_exp_spltwal].status = IT_DISABLED;
OP_ExpOptionsMenu[op_exp_pegging].status = IT_DISABLED;
OP_ExpOptionsMenu[op_exp_fofzfight].status = IT_DISABLED;
}
if (rendermode == render_opengl)