is it possible to time delay shader parameters?

Discussion for Level editing, modeling, programming, or any of the other technical aspects of Quake
Post Reply
KillPixel
Posts: 49
Joined: Sun Jun 22, 2014 7:35 pm

is it possible to time delay shader parameters?

Post by KillPixel »

https://youtu.be/PMpXGSwrz_A

I'm using scroll and deformvertexes move to simulate snow. The issue is that all brushes move in unison (they reach the end of the move and change direction simultaneously). I was wondering if I could delay deformvertexes move for one set of brushes so that they begin their move when the other set is in the middle of its own. Is this possible purely shader-side? thanks!

EDIT: never fails that once I make a post I figure it out shortly after. "phase" is what I was looking for. I was thrown off because I didn't understand it fully and was testing values like 0, .5 and 1 when really .25 or .75 is what I needed.
[url=https://www.youtube.com/user/KillPixel]KillPixel@YouTube[/url]
Post Reply