mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-21 09:21:02 +00:00
Fix SW lighting
This commit is contained in:
parent
be98bad49b
commit
753e9b3b16
@ -227,7 +227,7 @@ void Lighter::Light(float colorOut0[4], float colorOut1[4], const float colorIn[
|
||||
dots[l] = dot;
|
||||
if (gstate.lightEnable[l] & 1)
|
||||
{
|
||||
Color4 lightAmbient(gstate_c.lightColor[2][l], 1.0f);
|
||||
Color4 lightAmbient(gstate_c.lightColor[0][l], 1.0f);
|
||||
lightSum0 += lightAmbient * *ambient + diff;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user