Using LinearSin to Alternate Colors in Unreal Engine 5

A quick simple example of using LinearSin to alternate between colors

Unreal Engine 5 test level with playground materials focused on LinearSin materials
LinearSin changing colors

Software Version: Unreal Engine 5.4.4

While making materials I came across LinearSin. I thought it was a very cool function to switch between values. I made quick color changing material, maybe practical in a future application.

Unreal Engine 5 material using LinearSin to change colors
Material using LinearSin

LinearSin seems like an excellent built in function to interpolate between two values. This could be used for pulsating glowing effects or you could use the Direction node for immediate transitions.

Unreal Engine 5 LinearSin inside the material playground
LinearSin materials inside the MaterialPlayground Level
Loading...