Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 

WoWInterface » Developer Discussions » General Authoring Discussion » Texture Masking


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off