{"id":18020026,"url":"https://github.com/polygonjs/plugin-occlusion","last_synced_at":"2025-04-04T17:12:14.528Z","repository":{"id":57137581,"uuid":"325138090","full_name":"polygonjs/plugin-occlusion","owner":"polygonjs","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-01T16:59:49.000Z","size":1279,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T19:49:01.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/polygonjs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-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":"2020-12-28T23:23:02.000Z","updated_at":"2024-06-06T20:19:53.000Z","dependencies_parsed_at":"2024-10-30T05:34:24.873Z","dependency_job_id":null,"html_url":"https://github.com/polygonjs/plugin-occlusion","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":0.08163265306122447,"last_synced_commit":"f09f4c349cb28e580a256878a5f893683519ad0a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fplugin-occlusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fplugin-occlusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fplugin-occlusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fplugin-occlusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polygonjs","download_url":"https://codeload.github.com/polygonjs/plugin-occlusion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217222,"owners_count":20903009,"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-10-30T05:13:22.101Z","updated_at":"2025-04-04T17:12:14.506Z","avatar_url":"https://github.com/polygonjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polygonjs Occlusion Plugin\n\nThis adds a Occlusion SOP node to the [Polygonjs webgl engine](https://polygonjs.com).\n\nThis wraps the work done in https://github.com/wwwtyro/geo-ambient-occlusion into a node that can be used with all the other nodes available on Polygonjs.\n\nSee [example scene](https://github.com/polygonjs/example-plugin-occlusion):\n\n![geometries with occlusion added](https://github.com/polygonjs/example-plugin-occlusion/blob/main/doc/occlusion_examples.jpg?raw=true)\n\n# Install\n\nImport the plugin:\n\n`yarn add @polygonjs/plugin-occlusion`\n\nAnd register the plugin in the function `configurePolygonjs` in the file `PolyConfig.js` so that the occlusion node can be accessible in both the editor and your exported scene:\n\n```js\nimport {polyPluginOcclusion} from '@polygonjs/plugin-occlusion';\n\nexport function configurePolygonjs(poly) {\n\tpoly.registerPlugin(polyPluginOcclusion);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fplugin-occlusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolygonjs%2Fplugin-occlusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fplugin-occlusion/lists"}