{"id":15387022,"url":"https://github.com/gkjohnson/unity-clip-shader","last_synced_at":"2025-11-13T22:54:18.720Z","repository":{"id":66338481,"uuid":"101783399","full_name":"gkjohnson/unity-clip-shader","owner":"gkjohnson","description":"Unity shader and scripts for rendering solid clipped geometry","archived":false,"fork":false,"pushed_at":"2018-07-13T18:34:03.000Z","size":1613,"stargazers_count":50,"open_issues_count":4,"forks_count":10,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-15T19:48:45.192Z","etag":null,"topics":["3d","clip","geometry","graphics","rendering","shaders","unity","unity3d"],"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/gkjohnson.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-29T16:34:12.000Z","updated_at":"2025-03-24T15:04:34.000Z","dependencies_parsed_at":"2024-03-14T04:32:04.102Z","dependency_job_id":null,"html_url":"https://github.com/gkjohnson/unity-clip-shader","commit_stats":{"total_commits":59,"total_committers":1,"mean_commits":59.0,"dds":0.0,"last_synced_commit":"1eda42c39e66d89df4e9e133764db63c7e840ac0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gkjohnson/unity-clip-shader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-clip-shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-clip-shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-clip-shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-clip-shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkjohnson","download_url":"https://codeload.github.com/gkjohnson/unity-clip-shader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-clip-shader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284304462,"owners_count":26982161,"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","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["3d","clip","geometry","graphics","rendering","shaders","unity","unity3d"],"created_at":"2024-10-01T14:51:24.230Z","updated_at":"2025-11-13T22:54:18.708Z","avatar_url":"https://github.com/gkjohnson.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# unity-clip-shader\n![example](./Docs/example-image.gif)\n\nUnity shader and scripts for rendering solid geometry clipped by a plane\n\n## Use\n\nDraws the geometry with a double sided stencil pass and draws a quad afterward to give the illusion of solid geometry. The geometry must be manifold or water-tight with no duplicate triangles or edges.\n\nAdd a `ClipRenderer` component to the GameObject to be rendered, and attach a `Clip Plane/Basic` material. The `ClipRenderer` component should be considered a replacement for the built-in `Renderer` component.\n\n## Clip Material Options\n**Use World Space**\n\nWhether or not the plane provided to the material should be used in the local object space or in world space.\n\n**Plane Vector**\n\nA vector defining a plane in space. The XYZ vector defines the plane's normal, while the W component defines the distance from the origin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Funity-clip-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkjohnson%2Funity-clip-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Funity-clip-shader/lists"}