Quake3World.com Forums
     Level Editing & Modeling
        is it possible to time delay shader parameters?


Post new topicReply to topic
Login | Profile | | FAQ | Search | IRC




Print view Previous topic | Next topic 
Topic Starter Topic: is it possible to time delay shader parameters?

Trainee
Trainee
Joined: 22 Jun 2014
Posts: 49
PostPosted: 07-28-2017 09:25 AM           Profile Send private message  E-mail  Edit post Reply with quote


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.



_________________
KillPixel@YouTube


Top
                 
Quake3World.com | Forum Index | Level Editing & Modeling


Post new topic Reply to topic


cron
Quake3World.com
© ZeniMax. Zenimax, QUAKE III ARENA, Id Software and associated trademarks are trademarks of the ZeniMax group of companies. All rights reserved.
This is an unofficial fan website without any affiliation with or endorsement by ZeniMax.
All views and opinions expressed are those of the author.