How can i repeat transition effect

Something like THREE.Raycaster + GSAP/tween.js + modified material(s).

For some ideas, have a look at this post: How to combine gradient shader material with mesh origin material - #4 by prisoner849