{"id":13786468,"url":"https://github.com/Brajanowski/unity-2d-water","last_synced_at":"2025-05-11T22:31:12.818Z","repository":{"id":78628529,"uuid":"99902727","full_name":"Brajanowski/unity-2d-water","owner":"Brajanowski","description":"Simple water in Unity for 2D platform games","archived":false,"fork":false,"pushed_at":"2017-11-19T18:28:28.000Z","size":279,"stargazers_count":70,"open_issues_count":0,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-03T19:09:55.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Brajanowski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-10T08:57:32.000Z","updated_at":"2024-04-16T05:05:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"e69991c8-3066-49c4-aca5-a4cc80b30fd1","html_url":"https://github.com/Brajanowski/unity-2d-water","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brajanowski%2Funity-2d-water","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brajanowski%2Funity-2d-water/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brajanowski%2Funity-2d-water/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brajanowski%2Funity-2d-water/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brajanowski","download_url":"https://codeload.github.com/Brajanowski/unity-2d-water/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225101295,"owners_count":17421074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T19:01:16.319Z","updated_at":"2024-11-17T22:32:13.774Z","avatar_url":"https://github.com/Brajanowski.png","language":"C#","funding_links":[],"categories":["Sprite"],"sub_categories":[],"readme":"# Unity 2D Water\n\n# Usage:\nIt requires setup consisting of 2 cameras.\n\n1. Create a second camera and parent it to the main camera.\n\n![Screenshot](ss/0.png)\n\n**IMPORTANT**: Second camera must have same settings for orthographic projection as the main camera.\n\n2. Attach script called ScreenSpaceWaterReflections to second camera.\n\n![Screenshot](ss/1.png)\n\n3. Set culling on second camera to layers that will be reflected on the water.\n\n![Screenshot](ss/2.png)\n\n4. Now you can put a Water prefab on scene.\n5. Done\n\n![Screenshot](ss/3.png)\n\nScreenshot have Vignetting post process on it.\n\n\n# License:\nFell free to use in personal and commercial projects.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrajanowski%2Funity-2d-water","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBrajanowski%2Funity-2d-water","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBrajanowski%2Funity-2d-water/lists"}