I want to eliminate that edge that appears in the image since in some sonas it should not be or should have a gradient effect, like a fog would have
You can use a Sprite that has smooth faded borders instead (e.g. a radial gradient image).