Shadefactor (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''shadefactor''' <value> | <span {{code}}>'''shadefactor''' <value></span> | ||
Controls the level of shading in GL modes. It is set to the shade at which all colors are pitch black. | Controls the level of shading in GL modes. It is set to the shade at which all colors are pitch black. |
Latest revision as of 04:16, 23 February 2020
shadefactor <value>
Controls the level of shading in GL modes. It is set to the shade at which all colors are pitch black.
The shadefactor is pre-calculated based on the game palette. In the case of Duke 3D, the value is 30.