(G)ZDoom emulates an old rendering glitch used by many maps, in which you leave an upper/lower texture blank, and the flat from the touching sector will be rendered over it. This is less fussy than [wiki]Transfer_Heights[/wiki], having the advantage of ignoring the affected sector's lighting effects (such as color and flicker).
The problem is, A map editor will usually display errors for every instance of a missing texture. Want an error-free flat hack?
Throw this into your [wiki]TEXTURES[/wiki]:
Code: Select all
// Allows maps to use the Flat Bleeding trick without getting editor errors. - NS
Texture FlatHack, 16, 16
{
Patch "-NoFlat-", 0, 0
NullTexture
}
Now you simply place FLATHACK wherever you would normally put a blank texture. (G)ZDoom will use it as a null texture, while Doom Builder and the like will accept it as a valid texture. (Although it will probably not render in DB2 either, since it doesn't understand using textures as patches!)