mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
Merge pull request #174 from gm-matthew/luminous15
Step15Luminous() applies to all luminous polys, not just textured ones
This commit is contained in:
commit
dd90d0e2e0
|
@ -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