I am looking to clip the plane created by the ocean modifier - as a boolean modifier would do. This method worked well with a terrain with a simplier shape and only one dam.
The end result sould be that the water stops behind the 2 dams and doesn't go past the terrain.
What I tried:
- using the boolean modifier with each object one after the other terrain, dam1, dam2: this makes my ocean disappear
- useing the boolean modifier's collection operand type: this doesn't do anything (probably because the cube used as a start for the ocean modifier is small?)