This paper proposes an optical spatial modulation (OSM) technique to enhance the data rate of indoor optical wireless communication systems. OSM works by activating only one out of multiple light emitting diodes at each time instant to transmit data. The paper shows that properly aligning the positions and orientations of the transmit and receive units can significantly improve the performance of OSM by decorrelating the optical MIMO channel. Through alignment, the paper achieves a 14 dB gain in signal-to-noise ratio required for a bit-error rate of 10^-3 compared to misaligned setups. The paper also compares the power and bandwidth efficiency of OSM to on-off keying, pulse position modulation, and pulse amplitude modulation.