Most photodectors are silicon and germanium based, and that are indirect bandgap semiconductors. Direct gap semiconductors e.g. GaAs or GaP are used too for suitable wavelength however their problem might be too shallow depth of absorption for some light wavelength because of direct bandgap.