The optical properties of virtual bound state alloys