Sky hack
From DoomWiki.org

A demonstration of the sky hack in E1M1: Hangar.
In the example picture, taken in a map editor, the ceilings of the front and back sectors are highlighted in blue, the upper texture is highlighted in yellow. This upper texture should "normally" display STARTAN3, but with the sky hack it is not actually drawn, and the sky is seen instead. This allows to have outdoors area with outer walls at differing heights.
The sky hack does not apply to lower textures between two sky floors.
Bugs[edit]
- An oversight in the skyhack code may cause some projectiles to disappear when they strike a lower wall. Specifically, function P_XYMovement checks the wall's back sector to determine if it has a sky texture rather than the texture on the opposite side of the collision, and does not check if the projectile is colliding on a lower wall which is not skyhacked.[1]