I’m try to make a material that samples a texture in a sweeping or scanning motion, as seen below:
For example, let’s pretend this material is applied to a wall in a level. Initially, the wall is black. The texture is then swept across the wall, starting at the left edge, over some amount of time to eventually reveal the full texture.
I’m not very good at materials, but this seems like an easy problem that is limited by my own lack of knowledge. I’m also likely not using the proper terminology to describe what I’m trying to do, which is probably why my searches haven’t yielded any results.
I appreciate any help. Thanks in advance!
