Reputation: 125
i'm working on a 2d android game and i would like to add a shadow/elevation to some of my in game elements.
This image shows exacly what effect do i want to achive. I know it can be easly achived using xml but i'm making my game using libgdx. I've searched quiete alot and i havn't found any built in way to do this. I cant use premade shadow graphics to put behind my elements becouse there are alot of diffrent element sizes. Would realy appriciate some help and hope my english didn't make it too hard to understand :)
Upvotes: 2
Views: 1200