Beware the spaghetti! ^^, "Named reroute nodes" is your friend, keypress "q" for straighten execution wires. Always use straight execution wires. You can multiply on any input of the node so put things that belong together on the same side of the wire. Most excelent tutorial.
I hear you typing out multiply a lot, so here's a cheat sheet of every hotkey I know of in Unreal's shader graph editor. Hold these, then click, and the following happens (there are a few I found interesting to learn and would not have expected, like "normalize"): S= Scalar Parameter. 1= Scalar Constant 2= Vector 2 Constant 3= Vector 3 Constant V= Vector 4 Parameter F= Material Function Call (whichever you have selected in the content browser, or unassigned if none selected) L= Lerp (linear interpolate) I= If M= Multiply A= Add D= Divide E= Power (exponent) B= Bump Offset R= Reflection Vector T= Texture Sample U= Texture Coordinate (think "UV" to remember it easily.) N= Normalize I just made a project, then held every key and clicked to see what came up. I hate drop down menus.
Hey! Thanks for the walkthrough but I believe your calculation of the phase constant is incorrect. The Nvidia document says that the phase constant is Speed * 2 / Wavelength, or Speed * Frequency. You have it as Speed * RadialFrequency, which increases the phase constant by pi. Not a big deal but worth noting for people trying to crack the math. I think the mistake stems from all these Latin characters that look like w.
Thanks for the video, just what I was looking for! I tried making waves using the DistanceToNearSurface node (for coastal waves). Everything works and looks great, but I have a problems with the Normal and Gerstner functions. I don't understand how to set the correct X and Y coordinates. Now I'm using Normal with DDX and DDY. Perhaps you can help find a solution?
Beware the spaghetti! ^^, "Named reroute nodes" is your friend, keypress "q" for straighten execution wires. Always use straight execution wires. You can multiply on any input of the node so put things that belong together on the same side of the wire. Most excelent tutorial.
I hear you typing out multiply a lot, so here's a cheat sheet of every hotkey I know of in Unreal's shader graph editor. Hold these, then click, and the following happens (there are a few I found interesting to learn and would not have expected, like "normalize"):
S= Scalar Parameter.
1= Scalar Constant
2= Vector 2 Constant
3= Vector 3 Constant
V= Vector 4 Parameter
F= Material Function Call (whichever you have selected in the content browser, or unassigned if none selected)
L= Lerp (linear interpolate)
I= If
M= Multiply
A= Add
D= Divide
E= Power (exponent)
B= Bump Offset
R= Reflection Vector
T= Texture Sample
U= Texture Coordinate (think "UV" to remember it easily.)
N= Normalize
I just made a project, then held every key and clicked to see what came up. I hate drop down menus.
I discovered you today... This tutorial is great... Certainly the BEST water simulation tutorial I've seen.
This is awesome!!!! Thank you very much for making this tutorial!
youre a real one thank you
This was super helpful! Thank you!
Thank You !
Math in blueprint could be hard, it's easier now.
Thank you so much for making this!!!!
Great job!! Thanks for sharing ;))))
Hey! Thanks for the walkthrough but I believe your calculation of the phase constant is incorrect. The Nvidia document says that the phase constant is Speed * 2 / Wavelength, or Speed * Frequency. You have it as Speed * RadialFrequency, which increases the phase constant by pi. Not a big deal but worth noting for people trying to crack the math. I think the mistake stems from all these Latin characters that look like w.
Thank you so much for making this!!!! COULD YOU MAKE ONE OF FLUIDS? PLEASE.
Thanks for the video, just what I was looking for! I tried making waves using the DistanceToNearSurface node (for coastal waves). Everything works and looks great, but I have a problems with the Normal and Gerstner functions. I don't understand how to set the correct X and Y coordinates. Now I'm using Normal with DDX and DDY. Perhaps you can help find a solution?
Would love to see how you set up the waves to work with Distance To Nearest Surface! Did you ever solve the normal issues?