mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
Step15Luminous() applies to all polys, not just textured ones
This commit is contained in:
parent
ce9809c4d7
commit
6908e5fd3f
|
@ -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 disabled it appears to be multiplied by 1.5, presumably to allow a higher range
|
||||
if(hardwareStep==0x15) {
|
||||
if(!lightEnabled && textureEnabled) {
|
||||
if(!lightEnabled) {
|
||||
if(fixedShading) {
|
||||
colour.rgb *= 1.0 + fsFixedShade + lighting[1].y;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue