reworked the texture blending. still needs more work.