Cg noise() function?

I’m trying to code a jittering effect in a vertex shader instead of using a script, which I’m currently using already. The goal is to offset each vertex by some randomly set amount every frame.

Looking at the functions in the Cg standard library, there’s a noise function that I could use like this:

v.vertex.xyz += noise(_Time) * _NoiseAmount;

But that isn’t working. Is noise() not supported? Is there another way to do this in a vertex shader?

If I recall correctly, noise does not work. When I need noise I just make a noise texture and sample that.

You can try playing with sin/tan it’s not random,
but sometimes it looks even better.