Text this: Generalized model for all-optical light modulation in bacteriorhodopsin.