Sunday, October 26, 2014

UE4: SubUV rotator

Mike had 9 gears on a texture and needed them all to rotate at the same rate. This is what I came up with to solve that problem.

The "Tiling" parameter can be a 2 vector, with different numbers in each channel. It will rotate correctly as long as the numbers line up with the subdivisions in the texture.