Animating the water flow
We will have a look at a cool trick that will allow us to animate our water surface, making the waves move:
- Add Mapping and Texture Coordinate nodes.
- Connect the Generated slot on the Texture Coordinate node to Vector on the left side of the Mapping node.
- Connect the right-hand Vector slot of the Mapping node to Vector on Noise Texture.
Figure 7.23 – Adding the Mapping and Texture Coordinate nodes to Noise Texture
Now, if you change the value of the Z location on the Mapping node, you will notice that Noise Texture is moving.
- To animate the Z location value on Mapping, we need access to the Timeline editor, so hover your mouse over the bottom-right window, left-click, and drag upward.
This will give you a new duplicated window of Shader Editor. Let’s switch it to the Timeline editor and jump into the first frame:
Timeline is identified by a clock icon; it is used for manipulating...