how do you create this dark effect on the top of a mesh in a top down game

thanks for your answer dude