implemented animated textures