{"id":18020116,"url":"https://github.com/polygonjs/example-plugin-occlusion","last_synced_at":"2025-04-04T17:12:44.162Z","repository":{"id":109050708,"uuid":"333538593","full_name":"polygonjs/example-plugin-occlusion","owner":"polygonjs","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-01T17:10:31.000Z","size":54325,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-01T19:49:01.494Z","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":null,"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":null,"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":"2021-01-27T19:35:52.000Z","updated_at":"2023-12-01T17:10:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"87d7d22b-1821-4f5d-9353-0de5fb8ef28f","html_url":"https://github.com/polygonjs/example-plugin-occlusion","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"1e6505ef6567179b29e2099216407e614e559f08"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-occlusion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-occlusion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-occlusion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/polygonjs%2Fexample-plugin-occlusion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/polygonjs","download_url":"https://codeload.github.com/polygonjs/example-plugin-occlusion/tar.gz/refs/heads/main","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:33.594Z","updated_at":"2025-04-04T17:12:44.144Z","avatar_url":"https://github.com/polygonjs.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polygonjs Plugin Occlusion Example\n\nThis repository shows how to use the [Occlusion Plugin](https://github.com/polygonjs/plugin-occlusion) for the WebGL engine [Polygonjs](https://github.com/polygonjs/polygonjs).\n\nThis plugin adds a node `SOP/Occlusion` which adds an occlusion attribute to a geometry (downloaded from [threedscans](http://threedscans.com/)), which in turn can be used in the material builder.\n\n![Geometries with occlusion](https://github.com/polygonjs/example-plugin-occlusion/blob/main/doc/occlusion_examples.jpg?raw=true)\n## Open the scene in the WebGL editor\n\n`yarn \u0026\u0026 yarn polygon`\n\nand open your browser at:\n\n`http://localhost:8091?scene=default`\n\nThis will open the scene saved in this repo. It is a simple scene with a few geometry, whose occlusion is added via the SOP/Occlusion node.\n\n![Occlusion plugin from Polygonjs node-based Editor](https://github.com/polygonjs/example-plugin-occlusion/blob/main/doc/occlusion_example_in_editor.jpg?raw=true)\n\n## Open the export scene without the editor\n\n`yarn \u0026\u0026 yarn run snowpack dev`\n\nand open your browser at:\n\n`http://localhost:8080`\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fexample-plugin-occlusion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpolygonjs%2Fexample-plugin-occlusion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpolygonjs%2Fexample-plugin-occlusion/lists"}