Textures refactored with arrays working.