2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:44:56 +00:00

Arm cannon rendering fixes

This commit is contained in:
Jack Andersen
2018-01-14 21:39:25 -10:00
parent 89b9a6d7d3
commit 47b3d57c3a
19 changed files with 89 additions and 67 deletions

View File

@@ -507,10 +507,6 @@ std::vector<CLight> CActorLights::BuildLightVector() const
{
std::vector<CLight> lights;
zeus::CColor ambColor = x288_ambientColor;
ambColor.a = 1.f;
lights.push_back(CLight::BuildLocalAmbient(zeus::CVector3f::skZero, ambColor));
if (x0_areaLights.size())
{
if (x2dc_brightLightLag && x299_25_useBrightLightLag)
@@ -537,6 +533,10 @@ std::vector<CLight> CActorLights::BuildLightVector() const
for (const CLight& light : x144_dynamicLights)
lights.push_back(light);
zeus::CColor ambColor = x288_ambientColor;
ambColor.a = 1.f;
lights.push_back(CLight::BuildLocalAmbient(zeus::CVector3f::skZero, ambColor));
return lights;
}