sliding / scrolling texture - not smooth

glBeatriz's icon

Hi, I want to slide a single texture (repeated) on a videoplane by applying an offset to the "S" (x) texture coordinate. I have tried with a shader as the patch attached as a zip, aplying an offset and adding it to the s coordinate, but it does not work.

The effect I want is achieved with this using jit.scanslide, but it does not look good and smooth:

Max Patch
Copy patch and select New From Clipboard in Max.

I would rather do it with openGL. Any suggestion/ideas?
`

5084.example.zip
zip
tep's icon
Max Patch
Copy patch and select New From Clipboard in Max.

td.repos.jxs will do the trick.