I hope anyone can point me in the right direction. I'm trying to get an effect where the background fades away into darkness. To achieve this I created a gradient in Photoshop from black to transparent and stored this as a PNG file. I then use this gradient to lay over the background in my game expecting the transparent part to show the background file (also PNG) and the black part to cover it entirely and in between it slowly fades from transparent to black.
The problem is that the complete tranparent part of the gradient works fine, the none-transparent part (black) as well but in between there is a white semi transparent section. I would like to add a screen shot here but I don't know how to post a picture.
The background is moving from left to right so I can't create the whole background in Photoshop.
Appreciate any help I can get.