Add support for shadows.

Closes #36.