Thread: My Next Addon
View Single Post
05-07-15, 12:50 PM   #5
Digital_Utopia
A Flamescale Wyrmkin
 
Digital_Utopia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 110
Originally Posted by semlar View Post
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.
__________________
  Reply With Quote