View Single Post
03-04-16, 06:37 AM   #7
lightspark
A Rage Talon Dragon Guard
 
lightspark's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2012
Posts: 341
Originally Posted by zork View Post
lightspark can you post a more detailed example? Maybe even with screenshots?
I have an animated day/night indicator in my UI, it has round shape, cuz I made be a background of minimap calendar button, so I had to apply round mask to rectangular texture.

Old screenshot piece of an early prototype:


Here is code that adjusts texture according to daytime.

I used default blizz textures for both artwork and mask:
__________________