2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-19 16:05:23 +00:00

Implement GX lighting API (need to update shader generation)

This commit is contained in:
2022-05-10 01:20:09 -07:00
parent 3cb38cc94c
commit 17136fdfb9
5 changed files with 357 additions and 5 deletions

View File

@@ -72,6 +72,7 @@ public:
x4c_24_intensityDirty = true;
x4c_25_radiusDirty = true;
}
float GetSpotCutoff() const { return x20_spotCutoff; }
float GetAttenuationConstant() const { return x24_distC; }
float GetAttenuationLinear() const { return x28_distL; }
float GetAttenuationQuadratic() const { return x2c_distQ; }