Guest shane.ploenges Posted October 24, 2012 Share Posted October 24, 2012 Hi, is it possible to make a texture scroll? i am trying to replicate a scrolling led information display like seen on train station platforms etc. I think just animating a tiled long texture across the surface that repeats should do the trick. But how? Link to comment
pluton Posted October 24, 2012 Share Posted October 24, 2012 Simple use time variable in texture transform like this - vec4(1.0,1.0,time*v,0.0), v - texture offset velocity scale. If you need strobe effect (when led size is big) use texture transform - vec4(1.0,1.0,-floor(time * v) /n,0.0), n - number of horizontal led elements. Link to comment
Guest shane.ploenges Posted October 24, 2012 Share Posted October 24, 2012 Thanks very much pluton, good help. Link to comment
ulf.schroeter Posted October 24, 2012 Share Posted October 24, 2012 BTW, there is also detailed documentation available Link to comment
Recommended Posts