7 lines
3.5 KiB
HTML
7 lines
3.5 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../../"><link rel="stylesheet" href="dmdoc.css"><title>code/_onclick/hud/plane_master.dm - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a></header><main><h1>code/_onclick/hud/plane_master.dm <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/_onclick/hud/plane_master.dm0"><img src="git.png" width="16" height="16" title="code/_onclick/hud/plane_master.dm0"></a></h1><table class="summary" cellspacing="0"><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/openspace</th><td>Things rendered on "openspace"; holes in multi-z</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/floor</th><td>Contains just the floor</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/game_world</th><td>Contains most things in the game world</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/field_of_vision</th><td>Contains all shadow cone masks, whose image overrides are displayed only to their respective owners.</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/field_of_vision_blocker</th><td>Used to display the owner and its adjacent surroundings through the FoV plane mask.</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/field_of_vision_visual</th><td>Stores the visible portion of the FoV shadow cone.</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/lighting</th><td>Contains all lighting objects</td></tr><tr><td colspan="2"><p>This system works by exploiting BYONDs color matrix filter to use layers to handle emissive blockers.</p>
|
|
<p>Emissive overlays are pasted with an atom color that converts them to be entirely some specific color.
|
|
Emissive blockers are pasted with an atom color that converts them to be entirely some different color.
|
|
Emissive overlays and emissive blockers are put onto the same plane.
|
|
The layers for the emissive overlays and emissive blockers cause them to mask eachother similar to normal BYOND objects.
|
|
A color matrix filter is applied to the emissive plane to mask out anything that isn't whatever the emissive color is.
|
|
This is then used to alpha mask the lighting plane.</p></td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/emissive</th><td>Handles emissive overlays and emissive blockers.</td></tr><tr><th>/<a href="atom.html">atom</a>/<a href="atom/movable.html">movable</a>/<a href="atom/movable/screen.html">screen</a>/plane_master/parallax</th><td>Contains space parallax</td></tr></table></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |