moved texture type back to being a vertex attribute and improved the algorithm. started work on perlin noise for texture blending