mirror of https://github.com/PrimeDecomp/prime.git
parent
38570b9f6e
commit
da754cef88
|
@ -136,7 +136,7 @@ public:
|
||||||
static void SetDepthWriteMode(bool test, ERglEnum comp, bool write);
|
static void SetDepthWriteMode(bool test, ERglEnum comp, bool write);
|
||||||
static void SetBlendMode(ERglBlendMode, ERglBlendFactor, ERglBlendFactor, ERglLogicOp);
|
static void SetBlendMode(ERglBlendMode, ERglBlendFactor, ERglBlendFactor, ERglLogicOp);
|
||||||
|
|
||||||
static CTevCombiners::CTevPass& kEnvPassThru;
|
static CTevCombiners::CTevPass& kEnvPassthru;
|
||||||
static CTevCombiners::CTevPass kEnvModulateConstColor;
|
static CTevCombiners::CTevPass kEnvModulateConstColor;
|
||||||
static CTevCombiners::CTevPass kEnvConstColor;
|
static CTevCombiners::CTevPass kEnvConstColor;
|
||||||
static CTevCombiners::CTevPass kEnvModulate;
|
static CTevCombiners::CTevPass kEnvModulate;
|
||||||
|
|
|
@ -88,11 +88,11 @@ void CDecal::RenderQuad(CQuadDecal& decal, const CDecalDescription::SQuadDescr&
|
||||||
CGX::SetAlphaCompare(GX_GREATER, 0, GX_AOP_OR, GX_NEVER, 0);
|
CGX::SetAlphaCompare(GX_GREATER, 0, GX_AOP_OR, GX_NEVER, 0);
|
||||||
GXSetTevSwapMode(GX_TEVSTAGE1, GX_TEV_SWAP0, GX_TEV_SWAP1);
|
GXSetTevSwapMode(GX_TEVSTAGE1, GX_TEV_SWAP0, GX_TEV_SWAP1);
|
||||||
} else {
|
} else {
|
||||||
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassThru);
|
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassthru);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
CGraphics::SetTevOp(kTS_Stage0, CGraphics::kEnvPassThru);
|
CGraphics::SetTevOp(kTS_Stage0, CGraphics::kEnvPassthru);
|
||||||
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassThru);
|
CGraphics::SetTevOp(kTS_Stage1, CGraphics::kEnvPassthru);
|
||||||
}
|
}
|
||||||
|
|
||||||
CGX::SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0);
|
CGX::SetTevOrder(GX_TEVSTAGE0, GX_TEXCOORD0, GX_TEXMAP0, GX_COLOR0A0);
|
||||||
|
|
Loading…
Reference in New Issue