Question about a spray

So, I saw a spray that was very interesting. The spray changed image as soon as you got into a certain proximity of it. I was wondering how you might go about making a spray like this?

This fpsbanana tutorial might do the trick for you?