I'm working on an animated material and I've hit a bit of a snag. I am trying to create a light-board material, 32 by 32 lights. It will act as a kind of a monitor for the main room of my next map. I am running a panning texture (32x32) along the material, only I'm hitting a problem. Each light in the 32^2 block needs to render as either ON or OFF, but the panning material is moving too smoothly. It seems to be halfway between individual lights on the grid texture. I want the texture to pan at a staggered rate, as if the texture is portrayed by lights on a 32x32 light-board.
This is a picture of my material. 20 of the lights are shown in this image (the lights are the larger, brighter squares outlined by the bold black lines). The Pink color is the off color of the lights, and the blue is the on color. The blue color is panning left-right.
This picture shows a snapshot of my problem: The vertical strip of blue light is partially filling the pink lights during animation. I'm trying to get the Blue column to pan over the Pink surface at a staggered rate, but the blue strip animates too smoothly from light to light. I've tried running the various nodes of my material (tex-coords, panners, time nodes, etc.) through a Multiply(x32)->ceil->Divide(/32) to try to stagger the movement, but it seems to have no/undesired effects.
I'm lost. Help!