Convert STENCILFAIL

Improves shadows in DoA3
This commit is contained in:
Anthony 2021-04-04 02:20:36 +13:00
parent f3aaea3bc2
commit d0e525cd99
1 changed files with 3 additions and 1 deletions

View File

@ -435,12 +435,14 @@ void XboxRenderStateConverter::ApplyComplexRenderState(uint32_t State, uint32_t
case xbox::X_D3DRS_NORMALIZENORMALS:
case xbox::X_D3DRS_ZENABLE:
case xbox::X_D3DRS_STENCILENABLE:
case xbox::X_D3DRS_STENCILFAIL:
case xbox::X_D3DRS_TEXTUREFACTOR:
case xbox::X_D3DRS_EDGEANTIALIAS:
case xbox::X_D3DRS_MULTISAMPLEANTIALIAS:
case xbox::X_D3DRS_MULTISAMPLEMASK:
break;
case xbox::X_D3DRS_STENCILFAIL:
Value = EmuXB2PC_D3DSTENCILOP(Value);
break;
case xbox::X_D3DRS_MULTISAMPLETYPE:
SetXboxMultiSampleType(Value);
break;