Thread: Texture Masking
View Single Post
03-30-14, 04:28 PM   #1
Digital_Utopia
A Flamescale Wyrmkin
 
Digital_Utopia's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2012
Posts: 110
Texture Masking

My goal is to only draw a texture within the confines of its (wider) frame. The texture will be moving within this frame quite frequently; but I don't want the edges appearing outside of the boundaries. I realize I can achieve this affect with a combination of SetTexCoords and SetWidth/SetHeight; but, considering how cumbersome this is, I was hoping there'd be an easier way to achieve this.

Any help would be appreciated.
__________________
  Reply With Quote