Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Brajanowski/unity-2d-water
Simple water in Unity for 2D platform games
https://github.com/Brajanowski/unity-2d-water
Last synced: 3 months ago
JSON representation
Simple water in Unity for 2D platform games
- Host: GitHub
- URL: https://github.com/Brajanowski/unity-2d-water
- Owner: Brajanowski
- Created: 2017-08-10T08:57:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T18:28:28.000Z (over 7 years ago)
- Last Synced: 2024-08-03T19:09:55.334Z (7 months ago)
- Language: C#
- Size: 272 KB
- Stars: 70
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - unity-2d-water - Simple water in Unity for 2D platform games (Sprite)
README
# Unity 2D Water
# Usage:
It requires setup consisting of 2 cameras.1. 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.
2. Attach script called ScreenSpaceWaterReflections to second camera.

3. Set culling on second camera to layers that will be reflected on the water.

4. Now you can put a Water prefab on scene.
5. Done
Screenshot have Vignetting post process on it.
# License:
Fell free to use in personal and commercial projects.