I want certain pixels of the player's sprite to be hidden if those pixels overlap with something that is supposed to be "Above" him (IE, if he is standing behind a building, and half his body is behind the building, then that half is not drawn. Is there any way to do this efficiently with 2DToolkit?
I know there is Texture2D.SetPixel, but I have no idea how to use it in this context.
Thanks in advance.