Changed fixed shaded logic for step 1.5 hw based upon Harry's findings

This commit is contained in:
Ian Curtis 2017-08-25 22:40:39 +00:00
parent b21ed49512
commit 50d1f95648

View file

@ -117,7 +117,7 @@ void Step15Lighting(inout vec4 colour)
// logic is not completely understood
if(hardwareStep==0x15) {
if(!lightEnabled && fixedShading) {
colour.rgb += lighting[1].y; // + vpAmbient
colour.rgb *= (fsFixedShade+lighting[1].x) + lighting[1].y;
}
}
}