I have a sea object, and over it I have an island object, I want to make the sea wave texture, from the sea object, flow to the center from all directions.
-
- Get a 2d vector from current pixel
position to the center
- Get a 2d vector from current pixel
-
- Use this vector as an input to
FlowMaps material function.
- Use this vector as an input to
-
- Enjoy results.