Added support for blending and multiple shaders.