Unity 2D Water
It requires setup consisting of 2 cameras.
- Create a second camera and parent it to the main camera.
IMPORTANT: Second camera must have same settings for orthographic projection as the main camera.
- Attach script called ScreenSpaceWaterReflections to second camera.
- Set culling on second camera to layers that will be reflected on the water.
- Now you can put a Water prefab on scene.
Screenshot have Vignetting post process on it.
Fell free to use in personal and commercial projects.