mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 05:11:21 +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);
|
||||
g_Renderer->SetDepthReadWrite(false, false);
|
||||
if (tex != nullptr) {
|
||||
tex->Load(GX_TEXMAP0, EClampMode::Repeat);
|
||||
tex->Load(GX_TEXMAP0, EClampMode::Clamp);
|
||||
}
|
||||
CGraphics::SetCullMode(ERglCullMode::None);
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
|
@ -8,9 +8,9 @@ public:
|
||||
enum class EFilterType { Always, Include, Exclude, IncludeExclude };
|
||||
|
||||
private:
|
||||
CMaterialList x0_include;
|
||||
CMaterialList x8_exclude;
|
||||
EFilterType x10_type = EFilterType::IncludeExclude;
|
||||
CMaterialList x0_include = CMaterialList(0x00000000FFFFFFFF);
|
||||
CMaterialList x8_exclude = CMaterialList(0);
|
||||
EFilterType x10_type = EFilterType::Always;
|
||||
|
||||
public:
|
||||
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