River Modeler
2.Getting Started
Importing
Project Setup
Ensure you have the following packages installed before importing:
- Splines 2.4.0+
- Mathematics*
- VFX Graph*
- Shader Graph*
* already installed with URP/HDRP
- If you had to install the Shader Graph package, please right-click on the asset’s folder and choose “Re-import”. Otherwise the included shader graph fails to compile into actual shader code!
You can, however, install it manually like so:
Using this asset with 2021, whilst error-free, is not supported. It is not tested on nor subject to support.
Scene Setup
River creation
To create a new river object, go to GameObject->3D Object->Water->River
In the dialog box that pops up, you can choose to create the river along with a new spline. If not, you are to assign the spline to use in the inspector.
To add a river to an existing spline, an option is available in the Spline component’s context menu
Notes:
- The River Modeler and Spline Container components do not necessarily need to be on the same object. Neither does the Mesh Filter!
- Scaling the Spline Container object is supported, but this only yields correct results if the Mesh Filter component is entirely separate
River editing
With the new river created, you’ll already notice that the river geometry reacts to the Spline’s shape as you adjust it. This is the crux of the workflow, but the River Modeler component holds various others settings.
Next steps
Further subjects: