Added support for dynamic lighting in Metroid Prime 3 + some other dynamic lighting additions and fixes

This commit is contained in:
parax0
2015-10-25 23:36:53 -06:00
parent b187da3925
commit 763d4b8b0a
14 changed files with 218 additions and 31 deletions

View File

@@ -156,6 +156,10 @@ void CGraphics::SetDefaultLighting()
sDefaultDirectionalLights[0].Load();
sDefaultDirectionalLights[1].Load();
sDefaultDirectionalLights[2].Load();
UpdateLightBlock();
sVertexBlock.COLOR0_Amb = CColor::skGray.ToVector4f();
UpdateVertexBlock();
}
void CGraphics::SetIdentityMVP()