fully working compositing. assumes target texture is fully utilized