Triangle Wave Algorithms

What’s This?

Triangle Wave¬†Algorithms give you something similar to a Sine wave without the significant costs of using Sine waves. There are many places where you might the wave shape of a Sine wave but don’t particularly want or need the smoothed edges.

This was written using Unreal Engine 4 but it should work just fine in the Unreal Developer Kit. Indeed, the concepts should translate well to any other shader authoring system.

Continue reading Triangle Wave Algorithms