Pass through LURD and LRLD material passes with no effect

This commit is contained in:
parax0 2016-01-30 00:17:19 -07:00
parent 61769fefe2
commit b4c8226e15
1 changed files with 9 additions and 0 deletions

View File

@ -556,7 +556,16 @@ void CMaterialLoader::CreateCorruptionPasses(CMaterial *pMat)
pPass->SetColorInputs(eZeroRGB, ePrevRGB, eTextureRGB, eZeroRGB);
pPass->SetAlphaInputs(eZeroAlpha, eZeroAlpha, eZeroAlpha, eTextureAlpha);
pPass->SetColorOutput(ePrevReg);
pPass->SetAlphaOutput(ePrevReg);
}
// LURD and LRLD are unknown and don't seem to do anything
else if ((Type == "LURD") || (Type == "LRLD"))
{
pPass->SetColorInputs(eZeroRGB, eZeroRGB, eZeroRGB, ePrevRGB);
pPass->SetAlphaInputs(eZeroAlpha, eZeroAlpha, eZeroAlpha, ePrevAlpha);
pPass->SetColorOutput(ePrevReg);
pPass->SetAlphaOutput(ePrevReg);
}
else if (Type == "CUST") {}