User Tools


Water Assets

Flat Water Assets

FloatWaterDataProvider is used for all flat water systems.
It can even be used with wavy water systems if the waves have 0 amplitude to improve performance (sometimes drastically as the water heights are always queried with wavy water system, even if there are no waves).

Setup

  • Attach FlatWaterDataProvider to the GameObject representing the water.
  • Water will exist at that object's transform.y position. No further action is needed.
2020/07/16 13:50 · Aron Rescec

Wavy Water Assets

CetoSetup

Ceto demo scene with DWP2.
Example Ceto setup.

Setup

  • Rename CetoWaterDataProvider.cs.txt to CetoWaterDataProvider.cs.
  • Set up the scene as if using flat water, minus FlatWaterDataProvider.
  • Add CetoWaterDataProvider to the object containing Ocean script.
2020/07/16 15:38 · Aron Rescec

Crest Setup

Crest demo scene with DWP2.
Example Crest setup.


Crest supports water heights, water normals and flow. It is one of the best wavy water systems to use with DWP2 and free to boot.

Please always use the latest Crest version with DWP2 as the Crest API has changed a few times in the past.

Setup

  • Set up the scene as per quick start guide for flat water, minus FlatWaterDataProvider.
  • Rename CrestWaterDataProvider.cs.txt to CrestWaterDataProvider.cs.
  • Add CrestWaterDataProvider to the object containing OceanRenderer script.
  • If there is a message Max query count (4096) exceeded, … create a new AnimatedWaveSettings file, set the Max Query Count to a larger value than default and assign it to OceanRenderer.
2020/07/16 13:41 · Aron Rescec

Lux Setup

Lux Water demo scene with DWP2.
Example Lux Water setup.


Lux Water supports water heights.

Setup

  • Rename LuxWaterDataProvider.cs.txt to LuxWaterDataProvider.cs.
  • Set up the scene as if using flat water, minus FlatWaterDataProvider.
  • Add LuxWaterDataProvider script to the object containing LuxWater_WaterVolume.
2020/07/16 13:41 · Aron Rescec

Ocean Nex Gen

Ocean Next Get demo scene with DWP2.
Ocean Next Gen example setup.

Ocean Next Gen is supported but has not been updated regularly for over two years. Crest and Ceto will be better options.

Setup

  • Rename OceanNextGenWaterDataProvider.cs.txt to OceanNextGenWaterDataProvider.cs.
  • Set up the scene as if using flat water, minus FlatWaterDataProvider.
  • Add OceanNextGenWaterDataProvider to the object containing Ocean script.
2020/07/16 15:10 · Aron Rescec

River Auto Material (R.A.M.)

R.A.M. demo scene with DWP2 added.
Example River Auto Material setup.

RAMWaterDataProvider supports water heights, normals and flow and it inherits from RaycastWaterDataProvider, meaning that the setup steps are the same.

Setup

  • Rename RAMWaterDataProvider.cs.txt to RAMWaterDataProvider.cs.
  • Set up the scene as if using flat water, minus FlatWaterDataProvider.
  • Add RAMWaterDataProvider to the scene. It does not have to be attached to any specific object.
  • Assign Water Layer to the River Auto Material water. Assign Object Layer to all the WaterObjects in the scene. This is an important step as the script will disable physical collisions between the two layers to prevent the WaterObjects from sitting on top of the mesh collider that R.A.M. uses instead of interacting with water.
  • R.A.M. setup is ready to go.
2020/07/16 15:01 · Aron Rescec

Suimono

Suimono demo scene with DWP2 added.
Example Suimono setup.

Suimono supports water height queries only.

Setup

  • Rename SuimonoWaterDataProvider.cs.txt to SuimonoWaterDataProvider.cs.
  • Set up the scene as if using flat water, minus FlatWaterDataProvider.
  • Add SuimonoWaterDataProvider to the object containing SuimonoModule script.
2020/07/16 14:48 · Aron Rescec