Shadefactor (DEF)

From EDukeWiki
Revision as of 09:28, 20 February 2020 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.