{"id":14981273,"url":"https://github.com/guidoschmidt/examples.lygia-threejs","last_synced_at":"2025-02-28T17:30:35.201Z","repository":{"id":62805733,"uuid":"559593555","full_name":"guidoschmidt/examples.lygia-threejs","owner":"guidoschmidt","description":"Collection of three.js examples using lygia shader library","archived":false,"fork":false,"pushed_at":"2023-08-12T09:58:35.000Z","size":11048,"stargazers_count":49,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-18T04:37:18.558Z","etag":null,"topics":["glsl","glsl-shaders","lygia","shader-library","shaders","three-js","threejs","threejs-example","threejs-learning","webgl"],"latest_commit_sha":null,"homepage":"","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/guidoschmidt.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":"2022-10-30T15:44:51.000Z","updated_at":"2025-02-13T21:16:28.000Z","dependencies_parsed_at":"2024-10-18T21:04:39.784Z","dependency_job_id":"ff500617-80d3-48a4-b5f9-41913f6140ec","html_url":"https://github.com/guidoschmidt/examples.lygia-threejs","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"13f79d49e3b6071746d1c5906f8b13ded1a1fd13"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidoschmidt%2Fexamples.lygia-threejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidoschmidt%2Fexamples.lygia-threejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidoschmidt%2Fexamples.lygia-threejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guidoschmidt%2Fexamples.lygia-threejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guidoschmidt","download_url":"https://codeload.github.com/guidoschmidt/examples.lygia-threejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241190648,"owners_count":19925071,"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":["glsl","glsl-shaders","lygia","shader-library","shaders","three-js","threejs","threejs-example","threejs-learning","webgl"],"created_at":"2024-09-24T14:03:14.597Z","updated_at":"2025-02-28T17:30:34.538Z","avatar_url":"https://github.com/guidoschmidt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lygia Examples\nThese are examples of how to use [LYGIA Shader Library](https://lygia.xyz/) with\n[three.js](https://threejs.org/)\n\nLive examples: [lygia.guidoschmidt.cc](https://lygia.guidoschmidt.cc)\n\n---\n\n| Example                                           | Preveiw                                                                                 |\n|---------------------------------------------------|-----------------------------------------------------------------------------------------|\n| marching squares [2D]                             | ![Marching Squares [2D]]( ./2d-marching-squares/screenshot.png )       |\n| forward rendering [basic]                         | ![Forward rendering [basic]]( ./3d-forward-rendering-basic/screenshot.png )       |\n| forward rendering [advanced], 5 x 5 PBR Materials | ![Forward rendering [advanced]]( ./3d-forward-rendering-advanced/screenshot.png ) |\n\n---\n\n### How to start?\nClone this repository including its submodules. [LYGIA](https://github.com/patriciogonzalezvivo/lygia) is used as\ngit submodule in this repository.\n\n```bash\ngit clone --recurse-submodules git@github.com:guidoschmidt/lygia_threejs_examples.git\n```\n\n---\n\n### Run the examples\nThe repository contains several examples in. Each example is its own sub-project. You can start each example as following:\n\n```bash\ncd 3d-forward-rendering-basic\nnpm | yarn | pnpm install\nnpm | yarn | pnpm dev\n```\n\nYou can also start an overview HTML page by running just:\n```bash\nnpm | yarn | pnpm dev\n```\n\n---\n\n### Open Issues \u0026 Ideas\n- Use THREE.js internal light shadow map. Currently it looks like there's an\n  incosistency when using `light.shadow.map.texture` as the shadow map texture.\n- Create a custom `LygiaMaterial` in order to integrate into THREE.js render\n  pipeline\n- Pass all PBR material parameters to the Lygia shaders/materials\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidoschmidt%2Fexamples.lygia-threejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguidoschmidt%2Fexamples.lygia-threejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguidoschmidt%2Fexamples.lygia-threejs/lists"}