Remove m_scale_rtts_factor == 1.0f in image quality for now
Because not working in advanced pipeline
This commit is contained in:
parent
a3d6f2f453
commit
10909b9556
@ -143,26 +143,22 @@ struct Resolution
|
|||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
int OptionsScreenVideo::getImageQuality()
|
int OptionsScreenVideo::getImageQuality()
|
||||||
{
|
{
|
||||||
if (UserConfigParams::m_scale_rtts_factor == 0.8f &&
|
if (UserConfigParams::m_trilinear == false &&
|
||||||
UserConfigParams::m_trilinear == false &&
|
|
||||||
UserConfigParams::m_anisotropic == 0 &&
|
UserConfigParams::m_anisotropic == 0 &&
|
||||||
(UserConfigParams::m_high_definition_textures & 0x01) == 0x00 &&
|
(UserConfigParams::m_high_definition_textures & 0x01) == 0x00 &&
|
||||||
UserConfigParams::m_hq_mipmap == false)
|
UserConfigParams::m_hq_mipmap == false)
|
||||||
return 0;
|
return 0;
|
||||||
if (UserConfigParams::m_scale_rtts_factor == 1.0f &&
|
if (UserConfigParams::m_trilinear == true &&
|
||||||
UserConfigParams::m_trilinear == true &&
|
|
||||||
UserConfigParams::m_anisotropic == 2 &&
|
UserConfigParams::m_anisotropic == 2 &&
|
||||||
(UserConfigParams::m_high_definition_textures & 0x01) == 0x00 &&
|
(UserConfigParams::m_high_definition_textures & 0x01) == 0x00 &&
|
||||||
UserConfigParams::m_hq_mipmap == false)
|
UserConfigParams::m_hq_mipmap == false)
|
||||||
return 1;
|
return 1;
|
||||||
if (UserConfigParams::m_scale_rtts_factor == 1.0f &&
|
if (UserConfigParams::m_trilinear == true &&
|
||||||
UserConfigParams::m_trilinear == true &&
|
|
||||||
UserConfigParams::m_anisotropic == 4 &&
|
UserConfigParams::m_anisotropic == 4 &&
|
||||||
(UserConfigParams::m_high_definition_textures & 0x01) == 0x01 &&
|
(UserConfigParams::m_high_definition_textures & 0x01) == 0x01 &&
|
||||||
UserConfigParams::m_hq_mipmap == false)
|
UserConfigParams::m_hq_mipmap == false)
|
||||||
return 2;
|
return 2;
|
||||||
if (UserConfigParams::m_scale_rtts_factor == 1.0f &&
|
if (UserConfigParams::m_trilinear == true &&
|
||||||
UserConfigParams::m_trilinear == true &&
|
|
||||||
UserConfigParams::m_anisotropic == 16 &&
|
UserConfigParams::m_anisotropic == 16 &&
|
||||||
(UserConfigParams::m_high_definition_textures & 0x01) == 0x01 &&
|
(UserConfigParams::m_high_definition_textures & 0x01) == 0x01 &&
|
||||||
UserConfigParams::m_hq_mipmap == true)
|
UserConfigParams::m_hq_mipmap == true)
|
||||||
@ -176,28 +172,24 @@ void OptionsScreenVideo::setImageQuality(int quality)
|
|||||||
switch (quality)
|
switch (quality)
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
UserConfigParams::m_scale_rtts_factor = 0.8f;
|
|
||||||
UserConfigParams::m_trilinear = false;
|
UserConfigParams::m_trilinear = false;
|
||||||
UserConfigParams::m_anisotropic = 0;
|
UserConfigParams::m_anisotropic = 0;
|
||||||
UserConfigParams::m_high_definition_textures = 0x02;
|
UserConfigParams::m_high_definition_textures = 0x02;
|
||||||
UserConfigParams::m_hq_mipmap = false;
|
UserConfigParams::m_hq_mipmap = false;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
UserConfigParams::m_scale_rtts_factor = 1.0f;
|
|
||||||
UserConfigParams::m_trilinear = true;
|
UserConfigParams::m_trilinear = true;
|
||||||
UserConfigParams::m_anisotropic = 2;
|
UserConfigParams::m_anisotropic = 2;
|
||||||
UserConfigParams::m_high_definition_textures = 0x02;
|
UserConfigParams::m_high_definition_textures = 0x02;
|
||||||
UserConfigParams::m_hq_mipmap = false;
|
UserConfigParams::m_hq_mipmap = false;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
UserConfigParams::m_scale_rtts_factor = 1.0f;
|
|
||||||
UserConfigParams::m_trilinear = true;
|
UserConfigParams::m_trilinear = true;
|
||||||
UserConfigParams::m_anisotropic = 4;
|
UserConfigParams::m_anisotropic = 4;
|
||||||
UserConfigParams::m_high_definition_textures = 0x03;
|
UserConfigParams::m_high_definition_textures = 0x03;
|
||||||
UserConfigParams::m_hq_mipmap = false;
|
UserConfigParams::m_hq_mipmap = false;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
UserConfigParams::m_scale_rtts_factor = 1.0f;
|
|
||||||
UserConfigParams::m_trilinear = true;
|
UserConfigParams::m_trilinear = true;
|
||||||
UserConfigParams::m_anisotropic = 16;
|
UserConfigParams::m_anisotropic = 16;
|
||||||
UserConfigParams::m_high_definition_textures = 0x03;
|
UserConfigParams::m_high_definition_textures = 0x03;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user