Stylized Water 2 documentation

Stylized Water 2

Stylized Water 2
Author: jonathan
Version: 1.0.6
Dated: 22 Sep 2020

4.4.Utilities #

Water Mesh creator

The package comes paired with a utility that can generate plane or circle meshes, to be used with the water shader. This makes it easy to add subdivions to a mesh, without having to leave Unity.

To create one
Right-click in the project window and go to Create->Water mesh. This creates a new .watermesh asset, which is essentially a regular mesh, so can be assigned to any MeshFilter component.

Adding too many subdivisions (+65k vertices) will result in a mangled mesh

Water Grid

This component lives up to it’s name, it creates a grid of water meshes around it’s position. It can be added through Add Component->Stylized Water 2->Water Grid.

The “Follow target” transform field can be set so the grid follows this around on the XZ axis. The position is snapped to the nearest vertex, so waves will not appear to wobble when the grid is moved. For the water surface to appear consistent when moving, the UV Source under the “General” tab in the material UI must be set to “World XZ Projected”.

This can be utilized to create water tiles for streaming systems, or faking an infinite ocean.

Yes No Suggest edit
Last updated on December 14, 2020
2 of 2 users found this section helpful
Suggest Edit