{"id":16862968,"url":"https://github.com/moguri/panda3d-simplepbr","last_synced_at":"2025-04-09T09:11:18.787Z","repository":{"id":35118029,"uuid":"208931934","full_name":"Moguri/panda3d-simplepbr","owner":"Moguri","description":"A straight-forward, easy-to-use, drop-in, PBR replacement for Panda3D's builtin auto shader","archived":false,"fork":false,"pushed_at":"2024-08-12T03:50:41.000Z","size":5036,"stargazers_count":56,"open_issues_count":6,"forks_count":18,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-10-14T14:37:05.041Z","etag":null,"topics":["gamedev","panda3d","pbr-shading","rendering"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Moguri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2019-09-17T01:29:52.000Z","updated_at":"2024-09-15T05:13:57.000Z","dependencies_parsed_at":"2024-01-10T19:42:04.123Z","dependency_job_id":"fabd432e-d79d-451f-b914-3027985dc26d","html_url":"https://github.com/Moguri/panda3d-simplepbr","commit_stats":{"total_commits":119,"total_committers":9,"mean_commits":"13.222222222222221","dds":0.1428571428571429,"last_synced_commit":"449335fa9381df68adad7128f6433e22d04a4e58"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moguri%2Fpanda3d-simplepbr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moguri%2Fpanda3d-simplepbr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moguri%2Fpanda3d-simplepbr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moguri%2Fpanda3d-simplepbr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moguri","download_url":"https://codeload.github.com/Moguri/panda3d-simplepbr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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":["gamedev","panda3d","pbr-shading","rendering"],"created_at":"2024-10-13T14:37:19.409Z","updated_at":"2025-04-09T09:11:18.766Z","avatar_url":"https://github.com/Moguri.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Build Status](https://github.com/Moguri/panda3d-simplepbr/workflows/Pipeline/badge.svg)\n[![](https://img.shields.io/github/license/Moguri/panda3d-simplepbr.svg)](https://choosealicense.com/licenses/bsd-3-clause/)\n\n# panda3d-simplepbr\n\nA straight-forward, easy-to-use PBR render pipeline for [Panda3D](https://www.panda3d.org/).\nThis project aims to be a drop-in replacement for Panda3D's auto-shader.\nThe PBR shader is heavily inspired by the [Khronos glTF Sample Viewer](https://github.com/KhronosGroup/glTF-Sample-Viewer).\n*Note:* this project does not make an attempt to match a reference renderer.\n\n![IBL](docs/img/ibl.png)\n\n## Features\n* Supports running on a wide range of hardware with an easy OpenGL 2.1+ requirement\n* Forward rendered metal-rough PBR\n* All Panda3D light types (point, directional, spot, and ambient)\n* Filmic tonemapping \n* Normal maps\n* Emission maps\n* Occlusion maps\n* Basic shadow mapping for DirectionalLight and Spotlight\n* Post-tonemapping color transform via a lookup table (LUT) texture\n* IBL diffuse and specular\n\n## Installation\n\nUse pip to install the `panda3d-simplepbr` package:\n\n```bash\npip install panda3d-simplepbr\n```\n\nTo grab the latest development build, use:\n\n```bash\npip install git+https://github.com/Moguri/panda3d-simplepbr.git\n```\n\n## Documentation\n\nMore detailed documentation can be found [here](https://moguri.github.io/panda3d-simplepbr/).\n\n## Usage\n\nJust add `simplepbr.init()` to your `ShowBase` instance:\n\n```python\nfrom direct.showbase.ShowBase import ShowBase\n\nimport simplepbr\n\nclass App(ShowBase):\n    def __init__(self):\n        super().__init__()\n\n        simplepbr.init()\n```\n\nThe `init()` function will choose typical defaults.\nDetails on available options can be found [here](https://moguri.github.io/panda3d-simplepbr/config/)\n\n## Example\n\nFor an example application using `panda3d-simplepbr` check out the [viewer](https://github.com/Moguri/panda3d-gltf/blob/master/gltf/viewer.py) in the [panda3d-gltf repo](https://github.com/Moguri/panda3d-gltf).\n\n\n## Developing\n\nThis project uses [uv](https://docs.astral.sh/uv/) for project management.\nAfter installing `uv`, run `uv sync` to install dependencies and create a virtual environment.\n\n### Linting\n\nThis project uses [ruff](https://docs.astral.sh/ruff/) for linting.\nRunning lint checks can be done with:\n\n```bash\nuv run ruff check\n```\n\n### Running Tests\n\n```bash\nuv run pytest\n```\n\n### Building Wheels\n\n```bash\nuv run build\n```\n\n## License\n[B3D 3-Clause](https://choosealicense.com/licenses/bsd-3-clause/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoguri%2Fpanda3d-simplepbr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoguri%2Fpanda3d-simplepbr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoguri%2Fpanda3d-simplepbr/lists"}