Gradient Noise ( How to affect scale by camera movement )

Spitballing here,

I would like to affect the scale of gradient noise ( within a clamped range ), so that when my main scene camera moves over the object I have applied that shader too, I can visibly see the gradient noise change, is this possible ?

You can access the camera’s position through the camera node.

https://docs.unity3d.com/Packages/com.unity.shadergraph@5.8/manual/Camera-Node.html

Then you could calculate the distance between that position and the object’s position.

Once you have that, the rest of the implementation depends on how exactly you want the scale to change.

1 Like

Thanks, I’ll look into these.

Put something together, seems to be working ok, texture is offset as I move and is directional :

One thing,

1 ) How might I invert the direction of movement ? So that the texture moves towards me instead of with me ?

Thanks