{"id":19779578,"url":"https://github.com/maluoi/sklightbake","last_synced_at":"2026-02-28T19:01:39.164Z","repository":{"id":115657997,"uuid":"544218585","full_name":"maluoi/SKLightBake","owner":"maluoi","description":"Scene management and light baking in StereoKit","archived":false,"fork":false,"pushed_at":"2025-02-21T22:28:50.000Z","size":336,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T19:42:55.874Z","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/maluoi.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":"2022-10-02T00:16:29.000Z","updated_at":"2025-02-21T22:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"2a4029c8-960b-48f9-aac2-8f482fbbcc28","html_url":"https://github.com/maluoi/SKLightBake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maluoi/SKLightBake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FSKLightBake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FSKLightBake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FSKLightBake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FSKLightBake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maluoi","download_url":"https://codeload.github.com/maluoi/SKLightBake/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maluoi%2FSKLightBake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29948228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-12T05:35:12.389Z","updated_at":"2026-02-28T19:01:39.140Z","avatar_url":"https://github.com/maluoi.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Light Baking and Scene Management Demo\n\nThis is a quick demo for performantly managing static scenes, and baking lighting into them with StereoKit! This bakes lighting into the vertex colors of the mesh, so is visually limited by the number of vertices the mesh has, and will merge meshes together.\n\n![Screenshot of lighting on a number of procedurally generated cubes](Docs/LightingScreenshot.png)\n\n## [StaticScene.cs](StaticScene.cs)\n\nThis is a small class that will store `Model`s and `Mesh`es in a list, and draw them with the least amount of overhead. It also provides tools for raycasting on the scene, and managing 'draw only' and 'raycast only' elements.\n\nThis does not work with animated `Model`s.\n\n## [BakedScene.cs](BakedScene.cs)\n\nThis class will take a `StaticScene`, as well as lighting information for the scene, grab the mesh data, bake vertex colors and combine the meshes together.\n\nBaking involves casting rays throughout the environment for a single bounce of lighting. 0 samples will provide hard shadows and direct lighting, while more samples will improve the quality of lighting at the cost of quite a bit more time.\n\nSee the code for details on how to use it.\n\n## License\n\nThis code is MIT licensed, feel free to use it in your own projects!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaluoi%2Fsklightbake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaluoi%2Fsklightbake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaluoi%2Fsklightbake/lists"}