Added support for blend modes.

Just a feature I never thought to add before. I noticed that you
use blend modes to create a lighting effect, so I've added in this
feature.

Needs testing.