mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 11:11:22 +00:00
Fix CCameraFilter clamp mode, correct CMaterialFilter defaults
This commit is contained in:
parent
6259f06be6
commit
5dfbe86d56
@ -186,7 +186,7 @@ void CCameraFilterPass::DrawFullScreenTexturedQuadQuarters(const zeus::CColor& c
|
|||||||
CGraphics::SetTevOp(ERglTevStage::Stage1, CTevCombiners::kEnvPassthru);
|
CGraphics::SetTevOp(ERglTevStage::Stage1, CTevCombiners::kEnvPassthru);
|
||||||
g_Renderer->SetDepthReadWrite(false, false);
|
g_Renderer->SetDepthReadWrite(false, false);
|
||||||
if (tex != nullptr) {
|
if (tex != nullptr) {
|
||||||
tex->Load(GX_TEXMAP0, EClampMode::Repeat);
|
tex->Load(GX_TEXMAP0, EClampMode::Clamp);
|
||||||
}
|
}
|
||||||
CGraphics::SetCullMode(ERglCullMode::None);
|
CGraphics::SetCullMode(ERglCullMode::None);
|
||||||
for (int i = 0; i < 4; ++i) {
|
for (int i = 0; i < 4; ++i) {
|
||||||
|
@ -8,9 +8,9 @@ public:
|
|||||||
enum class EFilterType { Always, Include, Exclude, IncludeExclude };
|
enum class EFilterType { Always, Include, Exclude, IncludeExclude };
|
||||||
|
|
||||||
private:
|
private:
|
||||||
CMaterialList x0_include;
|
CMaterialList x0_include = CMaterialList(0x00000000FFFFFFFF);
|
||||||
CMaterialList x8_exclude;
|
CMaterialList x8_exclude = CMaterialList(0);
|
||||||
EFilterType x10_type = EFilterType::IncludeExclude;
|
EFilterType x10_type = EFilterType::Always;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const CMaterialFilter skPassEverything;
|
static const CMaterialFilter skPassEverything;
|
||||||
|
2
extern/aurora
vendored
2
extern/aurora
vendored
@ -1 +1 @@
|
|||||||
Subproject commit d20c467fec8ea6470396ec6ab0dd43615b03b8af
|
Subproject commit 09f8c676eca1f5c8caa3a0d79a31ecf3df96c76a
|
Loading…
x
Reference in New Issue
Block a user