Adds a fading effect for transparency