{"id":13500229,"url":"https://github.com/valryon/water2d-unity","last_synced_at":"2025-03-29T05:33:27.898Z","repository":{"id":39179212,"uuid":"70889939","full_name":"valryon/water2d-unity","owner":"valryon","description":"A simple shader + example of a water surface with reflection in 2D","archived":true,"fork":false,"pushed_at":"2017-04-04T22:13:11.000Z","size":3417,"stargazers_count":412,"open_issues_count":1,"forks_count":61,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-08-01T22:52:49.374Z","etag":null,"topics":["shader","unity","unity3d","water2d"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/valryon.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}},"created_at":"2016-10-14T08:27:26.000Z","updated_at":"2024-07-19T23:40:27.000Z","dependencies_parsed_at":"2022-07-20T00:02:08.141Z","dependency_job_id":null,"html_url":"https://github.com/valryon/water2d-unity","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valryon%2Fwater2d-unity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valryon%2Fwater2d-unity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valryon%2Fwater2d-unity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valryon%2Fwater2d-unity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valryon","download_url":"https://codeload.github.com/valryon/water2d-unity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222465930,"owners_count":16989109,"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":["shader","unity","unity3d","water2d"],"created_at":"2024-07-31T22:00:53.839Z","updated_at":"2024-10-31T18:31:56.417Z","avatar_url":"https://github.com/valryon.png","language":"C#","readme":"# 2D Water surface in Unity3D\n\n![screenshot](screenshot.gif)\n\n## Description\n\nA 2D water surface that will deform what is \"underwater\".\n\nMore details in [my blog post](http://dmayance.com/water-surface-2d-unity/).\n\nMade with Unity 5.4.3f1 but should work on all Unity 5 versions.\n\n*Not enough tested on mobile and not tested at all on consoles*\n\n## Usage\n\n1. Clone this repository or download the latest [release package available](https://github.com/valryon/water2d-unity/releases).\n\n2. Add the \"Water2D Surface\" prefab in your scene. This is now your water.\n\n3. Tweak the sprite order/layer of the surface\n\n4. Add a `WaterReflectableScript` to any object you want to be reflected in the water\n\nEnjoy! You can also simply place sprites under water using sprite layers/order.\n\n## Credits\n\nDemo assets made by the [Superpower team](https://github.com/sparklinlabs/superpowers-asset-packs).\n","funding_links":[],"categories":["C\\#","Water","Shaders"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalryon%2Fwater2d-unity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalryon%2Fwater2d-unity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalryon%2Fwater2d-unity/lists"}