[Material] Is there a way to stop Sin from looping ?

Hi! I want to make a fading glow effect for my decal. It should fade from 0 to 1. When i use a Sin node if fades nicely from 0 to 1 but it loops. Is there a way to stop the Sin node from looping ?

Current Node Setup:

A sine wave goes between -1 and 1

Add 1 and multiply by .5 and you’ll have a sine wave between 0 and 1

(Time) → (Sine) → (Add 1) → (Multiply .5) → …

This should fix the ‘looping’ you’re seeing.

1 Like