Step15Luminous() applies to all polys, not just textured ones

This commit is contained in:
gm-matthew 2024-08-02 17:20:23 +01:00
parent ce9809c4d7
commit 6908e5fd3f

View file

@ -275,7 +275,7 @@ void Step15Luminous(inout vec4 colour)
// when fixed shading is enabled the colour is modulated by the vp ambient + fixed shade value // when fixed shading is enabled the colour is modulated by the vp ambient + fixed shade value
// when disabled it appears to be multiplied by 1.5, presumably to allow a higher range // when disabled it appears to be multiplied by 1.5, presumably to allow a higher range
if(hardwareStep==0x15) { if(hardwareStep==0x15) {
if(!lightEnabled && textureEnabled) { if(!lightEnabled) {
if(fixedShading) { if(fixedShading) {
colour.rgb *= 1.0 + fsFixedShade + lighting[1].y; colour.rgb *= 1.0 + fsFixedShade + lighting[1].y;
} }