I made a dumb mistake with my water shader🤦🏻♂️
Dan Greenheck
Visit on X@dangreenheck9.6K followers
125,890 views
I made a dumb mistake with my water shader🤦🏻♂️
The wave evolution equation has two parts: a standing wave component and a traveling wave component.
When I was first getting this all to work, I hard-coded constants so the waves were always traveling forward at full speed.
By adding a "standing wave ratio" where I can control the ratio between the two terms, I can now achieve wave patterns that oscillate in place.
The video on the left has SWR = 0 and the video on the right SWR = 0.7 (I exaggerated the waves a bit to make the difference more noticeable).
Now I have to re-record all my marketing videos...😭
Comments
Comments from the original post on X (Twitter)
No comments yet
