first version of animated textures, does not work fully yet