Added code for doing blend equations and made attribute sets support individual blend modes/equations.