{"id":13663724,"url":"https://github.com/HuvaaKoodia/Unity-Portals","last_synced_at":"2025-04-25T17:32:45.541Z","repository":{"id":69920554,"uuid":"90977243","full_name":"HuvaaKoodia/Unity-Portals","owner":"HuvaaKoodia","description":"Portals in Unity by not using RenderTextures!","archived":false,"fork":false,"pushed_at":"2017-06-12T07:07:51.000Z","size":586,"stargazers_count":20,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-03T05:19:25.581Z","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":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HuvaaKoodia.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":"2017-05-11T12:34:36.000Z","updated_at":"2024-04-23T01:03:33.000Z","dependencies_parsed_at":"2024-01-17T04:51:44.117Z","dependency_job_id":null,"html_url":"https://github.com/HuvaaKoodia/Unity-Portals","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/HuvaaKoodia%2FUnity-Portals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuvaaKoodia%2FUnity-Portals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuvaaKoodia%2FUnity-Portals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HuvaaKoodia%2FUnity-Portals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HuvaaKoodia","download_url":"https://codeload.github.com/HuvaaKoodia/Unity-Portals/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224011635,"owners_count":17240979,"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-02T05:02:35.411Z","updated_at":"2025-04-25T17:32:45.536Z","avatar_url":"https://github.com/HuvaaKoodia.png","language":"C#","funding_links":[],"categories":["C\\#","Portal"],"sub_categories":[],"readme":"# Unity-Portals\nPortal rendering in Unity by not using RenderTextures!\n\nInstead uses ~~shader magic~~ [camera replacement shaders](https://docs.unity3d.com/Manual/SL-ShaderReplacement.html), [the stencil buffer](https://docs.unity3d.com/Manual/SL-Stencil.html) and [oblique projection](http://www.terathon.com/lengyel/Lengyel-Oblique.pdf) (thanks to [pr0g](https://github.com/pr0g/unity-portal-rendering/blob/master/PortalsWithRenderTargets/Assets/Scripts/Portal.cs) for that!).  \n\n## Limitations:\n\n- Requires forward rendering\n- The world inside the portals is rendered using a non-standard shader (legacy bumped specular)\n- Does not work with skyboxes or camera background color\n- No moving through the portals, yet\n\nYou can add more subshaders to the Portal Replacement shaders for \"advanced\" features like transparency.\n\n## Controls:  \n\nMouse   - look around  \nWASD    - move around  \nE \u0026 Q   - ascend and descend  \nShift   - move faster  \nControl - move slower  \nEnd     - unlock/lock cursor  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHuvaaKoodia%2FUnity-Portals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FHuvaaKoodia%2FUnity-Portals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FHuvaaKoodia%2FUnity-Portals/lists"}