Gigatron Nevermind! My Fault! I had my own shadow system when i no had shadows and was making this weird thing. NOw no weird thing around the player and the opacity works fine.
But i found a problem, and is that the shadow rotates with the player changing the point of the light. I mean if i set XY ofset of the shadow this have to be always the same no matter the player rotation, i will give you an example:
Now, the shadow position rotates with the player, and the shadow always should be in an offset/angle of the light that appears in the second case that is always at offset X+1 and y+1. But now when player rotates the shadow also does :S .
Maybe i'm requesting an imposible, but can you make a "static shadow" in a offset no matter the player sprite rotation?(i guess will have to update every tick)
Using sprites for shadow i clone the player gfx, set tint to black and every tick set the postion to player X+1 and Y+1, so no matter the player sprite rotation the shadow will always appears in the same offset, X+1/Y+1.
Is possible do that in the shader?