Shadefactor (DEF)

From EDukeWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.