simple blendmode implementation