Reduce Quest 2 default SS to 1.1

also fix a crash I introduced
This commit is contained in:
Simon 2021-04-07 20:10:51 +01:00
parent 16a54e2528
commit b0f9b4ed9a
4 changed files with 5 additions and 3 deletions

View file

@ -1580,7 +1580,7 @@ void * AppThreadFunction(void * parm ) {
questType = 2;
if (SS_MULTIPLIER == -1.0f)
{
SS_MULTIPLIER = 1.2f;
SS_MULTIPLIER = 1.1f;
}
if (NUM_MULTI_SAMPLES == -1)

View file

@ -5727,6 +5727,7 @@ void idPlayerHand::NextWeapon( int dir )
owner->UpdateHudWeapon( whichHand );
if( vr_debugHands.GetBool() )
common->Printf( "Changing weapon\n" );
}
if( vr_debugHands.GetBool() )
{

View file

@ -905,7 +905,8 @@ void iVr::MotionControlGetTouchController( int hand, idVec3 &motionPosition, idQ
motionPosition *= idAngles( 0.0f, (-trackingOriginYawOffset), 0.0f ).ToMat3();
motionPosition -= commonVr->hmdBodyTranslation;
if (pVRClientInfo->weapon_stabilised &&
if (pVRClientInfo != NULL &&
pVRClientInfo->weapon_stabilised &&
hand == vr_weaponHand.GetInteger()) {
idVec3 offHandPosition;
offHandPosition.x = -handPose[1 - hand].Position.z * (100.0f / 2.54f) / vr_scale.GetFloat();// Koz convert position (in meters) to inch (1 id unit = 1 inch).

View file

@ -106,7 +106,7 @@ seta com_product_lang_ext "1"
seta com_showFPS "0"
seta com_purgeAll "1"
seta vr_msaa "2"
seta vr_supersampling "1.2"
seta vr_supersampling "1.1"
seta vr_refresh "60"
seta r_scaleMenusTo43 "1"
seta r_debugArrowStep "120"