Adjusting default SS from Bummsers test values

This commit is contained in:
Grant Bagwell 2021-07-19 20:20:31 +02:00
parent 600475e91c
commit 3fc79e52ab
2 changed files with 11 additions and 6 deletions

View file

@ -1664,13 +1664,12 @@ void * AppThreadFunction(void * parm ) {
{
if (SS_MULTIPLIER == 0.0f)
{
//Lower to allow 90hz to work nicely
//GB Override as refresh is now 72 by default
SS_MULTIPLIER = 1.0f;
//GB Override as refresh is now 72 by default as we decided a higher res is better as 90hz has stutters
SS_MULTIPLIER = 1.35f;
}
else if (SS_MULTIPLIER > 1.2F)
else if (SS_MULTIPLIER > 1.5f)
{
SS_MULTIPLIER = 1.2f;
SS_MULTIPLIER = 1.5f;
}
} else {
//Don't know what headset this is!? abort

View file

@ -154,7 +154,13 @@ ovrLayerCylinder2 BuildCylinderLayer( ovrRenderer * cylinderRenderer,
const float density = 4500.0f;
const float rotateYaw = 0.0f;
const float radius = 4.0f;
const float distance = vr_screen_dist ? -vr_screen_dist->value : -3.5f;
//GB Hacky Override
float screen_offset = 0;
if(textureWidth > 1900)
{
screen_offset = -2.625f;
}
const float distance = vr_screen_dist ? -vr_screen_dist->value + screen_offset : -3.5f + screen_offset;
const ovrVector3f translation = { 0.0f, playerHeight/2, distance };