Creating soft shadow edges with random sampling