mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-05-29 10:41:22 +00:00
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->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") {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user