Quake3World.com
https://www.quake3world.com/forum/

is it possible to time delay shader parameters?
https://www.quake3world.com/forum/viewtopic.php?f=10&t=53524
Page 1 of 1

Author:  KillPixel [ 07-28-2017 09:25 AM ]
Post subject:  is it possible to time delay shader parameters?

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.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/