Use time in Unity shaders?

I was wondering if someone could give me an example of how to best update time for a shader?

I’m currently updating the time through setting the materials _Time-float to Time.time, but I saw that there are some built in variables here: Unity - Manual: ShaderLab built-in values

But there is really no example of how to use it correctly so I’m kinda guessing in the dark here.

Thanks! :slight_smile:

Just using _Time in my shader seems to work great. Wow that was simple! Unity simplifies so much tedious work. Good job Unity people! :smiley: