1
Support / Sprite Rotating in Atlas
« on: May 08, 2013, 06:38:20 am »
Hi,
I've made a customized blur shader for my sprites, and I would like to independently control how much my sprites get blurred, horizontally and vertically.
In a standard texture, this is easy, but in the atlas, due to sprite rotating to better fit in, in some sprites my shader gets confused and blurs the Y axis thinking it's the X axis and vice-versa.
Is there a way around this?
I've made a customized blur shader for my sprites, and I would like to independently control how much my sprites get blurred, horizontally and vertically.
In a standard texture, this is easy, but in the atlas, due to sprite rotating to better fit in, in some sprites my shader gets confused and blurs the Y axis thinking it's the X axis and vice-versa.
Is there a way around this?