Texture alignment in Doom is perhaps more complicated than in modern true-3D games. A number of factors affect how a texture is aligned.