Smoothly changing noise scroll direction in a particle shader

Following on what was talked about on this previous thread, Im trying to recreate the BOTW dust particles, which seems to be using a scrolling noise texture.

The shader is used by a particle system that’s always rotated towards the camera. So far it seems easy…the trick is that the noise changes scroll direction depending on the camera angle, making it so that it the wind direction remains uniform no matter which angle you look at the particles from.

Here’s a graph that was shared on the other thread:

ee7aee164bd0169f49d4c93fc027b07876bd84bd_2_500x500

So far, I’ve been able to make it so that noise scroll direction changes as expected, using the following combination of nodes. The output node is the one i feed into the panner node.

The issue, however, is that the direction constantly changes whenever i move the camera around and it causes this weird effect. Its not a smooth transition at all, the texture scrolls real quick as if it was trying to catch up with the change in direction:

ezgif.com-optimize

In this last gif, im debugging the noise texture output, which is being panned by the wind direction.

Any idea what I could do to solve this problem?

1 Like