Shade: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Fox (talk | contribs)
No edit summary
 
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. Legal values are between '''-127''' and '''128''' with '''0''' being default brightness and negative/lower values being brighter.
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.


''Note: Negative values don't appear obviously brighter but instead cause the actor/wall to be less affected by changes in visibility.''
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.





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.