Shade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
Fox (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The actor\wall-in-question's shade. Shade is available for the [[sprite]] structure and [[Members of the wall structure|wall]] structure.  
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]].
Related structure members include [[floorshade]] and [[ceilingshade]].


See [[spriteshadow]] and [[spritenoshade]].
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 03: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.