The present disclosure relates to a light source system suitable for use in a time of flight camera. The light source system includes a light source, such as a laser, and a driver arranged to supply a drive current to the light source to turn the light source on to emit light. The driver includes a capacitor to store energy and then discharge to generate the drive current, and the driver is integrated into a semiconductor die on which the light source is mounted. Consequently, the driver includes within it the source of energy for the drive current and the light source and driver are very close together, meaning that the light source may be turned on and off very quickly with a relatively large drive current, in order to output a high optical power, short duration light pulse.