Jump to content

Shadefactor (DEF): Difference between revisions

From EDukeWiki
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..."
 
No edit summary
 
(4 intermediate revisions by one other user not shown)
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.
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]]
[[Category:Palette editing]]

Latest revision as of 20:57, 10 March 2026

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.