2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 09:07:42 +00:00

Various rendering fixes

This commit is contained in:
Jack Andersen
2019-03-02 20:19:42 -10:00
parent ca5cf5c77c
commit 8b9f073635
32 changed files with 948 additions and 552 deletions

View File

@@ -165,6 +165,7 @@ enum class ETexelFormat {
RGBA8PC = 16,
C8PC = 17,
CMPRPC = 18,
CMPRPCA = 19,
};
#define DEPTH_FAR 1.f
@@ -191,8 +192,9 @@ public:
struct CFogState {
ERglFogMode m_mode;
zeus::CColor m_color;
float m_rangeScale = 0.f;
float m_start = 4096.f;
float m_A = 0.f;
float m_B = 0.5f;
float m_C = 0.f;
};
static CProjectionState g_Proj;