Hi @PolVegaTPM,
So for that to work, you need to update the material, each time you change a material value:
this.material.update();
Though that can be costly if you are doing it per frame. A better way is to use setParameter to set the new offset value directly in the shader.
Check this post on how to do it: