Originally Posted by semlar
By drawing a separate texture for every horizontal line at different scales you can create perspective, I used the same technique to show what path oregorger was going to take in an addon for my guild.
|
Exactly. In this case it's every vertical line, but the technique is the same. Since there can only be one wall per line, you just have to take the appropriate wall texture, and use texcoords to get the appropriate horizontal section you want to display.
In the case of multiple textures per vertical line (i.e. Doom), you'd have to have a separate line for each wall/ceiling/floor texture.