mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
Changed fixed shaded logic for step 1.5 hw based upon Harry's findings
This commit is contained in:
parent
b21ed49512
commit
50d1f95648
|
@ -117,7 +117,7 @@ void Step15Lighting(inout vec4 colour)
|
||||||
// logic is not completely understood
|
// logic is not completely understood
|
||||||
if(hardwareStep==0x15) {
|
if(hardwareStep==0x15) {
|
||||||
if(!lightEnabled && fixedShading) {
|
if(!lightEnabled && fixedShading) {
|
||||||
colour.rgb += lighting[1].y; // + vpAmbient
|
colour.rgb *= (fsFixedShade+lighting[1].x) + lighting[1].y;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue