{"id":13731182,"url":"https://github.com/SardineFish/Unity2DLighting","last_synced_at":"2025-05-08T04:32:12.891Z","repository":{"id":91858496,"uuid":"189969160","full_name":"SardineFish/Unity2DLighting","owner":"SardineFish","description":"A 2D lighting system implement in Unity.","archived":false,"fork":false,"pushed_at":"2020-06-13T15:17:25.000Z","size":1055,"stargazers_count":146,"open_issues_count":0,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-08-04T02:09:59.786Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SardineFish.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-06-03T08:51:47.000Z","updated_at":"2024-05-16T06:43:11.000Z","dependencies_parsed_at":"2024-01-27T23:41:55.845Z","dependency_job_id":"b0d282e7-896c-4b8a-82b8-9310a582798c","html_url":"https://github.com/SardineFish/Unity2DLighting","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SardineFish%2FUnity2DLighting","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SardineFish%2FUnity2DLighting/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SardineFish%2FUnity2DLighting/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SardineFish%2FUnity2DLighting/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SardineFish","download_url":"https://codeload.github.com/SardineFish/Unity2DLighting/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224702154,"owners_count":17355507,"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-03T02:01:24.984Z","updated_at":"2024-11-14T22:30:28.384Z","avatar_url":"https://github.com/SardineFish.png","language":"C#","readme":"# Unity 2D Lighting System\r\n\r\nAn implement of 2D lighting system in Unity.\r\n\r\n![](https://i.loli.net/2019/06/03/5cf4e0b7a6a6099705.png)\r\n\r\n## Development Environment\r\n\r\n- Unity 2019.3.0f\r\n\r\n## Dependencies\r\n\r\n- Unity Universal Render Pipeline (URP)\r\n\r\n## Features\r\n\r\n- Implement with CommandBuffer.\r\n- Support Universal Render Pipeline\r\n- 2D textured light \u0026 procedural light.\r\n- 2D soft shadows.\r\n- Support DX, OpenGL, Vulkan \u0026 OpenES 3.0\r\n\r\n## Usage\r\n\r\nSee `/Assets/Demo/SampleScene` for example\r\n\r\nSimply put `/Assets/2D Lighting` folder into your project.\r\n\r\n### With Built-in Render Pipeline\r\n\r\nUse branch `built-in-pipeline` to avoid compiling errors with missing dependencies.\r\n\r\n\r\n### With Universal Render Pipeline\r\n\r\n1. Create a `UniversalRenderPipelineAsset` with `Assets \u003e Create \u003e Rendering \u003e Universal Render Pipeline \u003e Pipeline Asset`\r\n\r\n2. Create a Renderer with `Assets \u003e Create \u003e Rendering \u003e Universal Render Pipeline \u003e Forward Renderer`\r\n\r\n3. Create a Light2D Render Feature in Inspector\r\n![](./docs/res/img/CreateRenderFeature.png)\r\n\r\n4. Assign this Renderer to the `UniversalRenderPipelineAsset` created before","funding_links":[],"categories":["C#"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSardineFish%2FUnity2DLighting","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSardineFish%2FUnity2DLighting","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSardineFish%2FUnity2DLighting/lists"}