Shadefactor (DEF): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
Created page with "'''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 base..."
 
Fox (talk | contribs)
No edit summary
Line 5: Line 5:
The '''shadefactor''' is pre-calculated based on the game palette. In the case of Duke 3D, the value is 30.
The '''shadefactor''' is pre-calculated based on the game palette. In the case of Duke 3D, the value is 30.


[[Category:Def commands]]
[[Category:DEF commands]]

Revision as of 02:25, 21 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.