Shade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
The actor\wall-in-question's shade. Shade is available for [[sprite]] structs and [[Members of the wall structure|wall]] structs. See [[spriteshadow]] and [[spritenoshade]].
The actor/wall-in-question's shade. Shade is available for the [[sprite]] structure and [[Members of the wall structure|wall]] structure. Legal values are between '''-128''' and '''127''' with '''0''' being default brightness, positive/higher values being darker and negative/lower values being brighter.
 
Typically 32 is enough to make a tile being displayed as pitch black, and higher values only matter for Sector Effectors that increase the lighting. Values lower than zero have no effect on the tile itself, instead it increases the [[visibility]]. For tiles displayed onscreen only values ranging from 0 to 32 are relevant.
 
 
Related structure members include [[floorshade]] and [[ceilingshade]].
 
See also [[spriteshadow]] and [[spritenoshade]].


[[Category:Sprite structure members]]
[[Category:Sprite structure members]]
[[Category:Wall structure members]]
[[Category:Wall structure members]]

Latest revision as of 04:33, 31 December 2013

The actor/wall-in-question's shade. Shade is available for the sprite structure and wall structure. Legal values are between -128 and 127 with 0 being default brightness, positive/higher values being darker and negative/lower values being brighter.

Typically 32 is enough to make a tile being displayed as pitch black, and higher values only matter for Sector Effectors that increase the lighting. Values lower than zero have no effect on the tile itself, instead it increases the visibility. For tiles displayed onscreen only values ranging from 0 to 32 are relevant.


Related structure members include floorshade and ceilingshade.

See also spriteshadow and spritenoshade.