added texture[0-2]