Pass through LURD and LRLD material passes with no effect
This commit is contained in:
parent
61769fefe2
commit
b4c8226e15
|
@ -556,7 +556,16 @@ void CMaterialLoader::CreateCorruptionPasses(CMaterial *pMat)
|
||||||
pPass->SetColorInputs(eZeroRGB, ePrevRGB, eTextureRGB, eZeroRGB);
|
pPass->SetColorInputs(eZeroRGB, ePrevRGB, eTextureRGB, eZeroRGB);
|
||||||
pPass->SetAlphaInputs(eZeroAlpha, eZeroAlpha, eZeroAlpha, eTextureAlpha);
|
pPass->SetAlphaInputs(eZeroAlpha, eZeroAlpha, eZeroAlpha, eTextureAlpha);
|
||||||
pPass->SetColorOutput(ePrevReg);
|
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->SetColorOutput(ePrevReg);
|
||||||
|
pPass->SetAlphaOutput(ePrevReg);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (Type == "CUST") {}
|
else if (Type == "CUST") {}
|
||||||
|
|
Loading…
Reference in New Issue