{"id":26483940,"url":"https://github.com/vrlabs/simple-shader-inspectors","last_synced_at":"2025-07-16T16:38:41.685Z","repository":{"id":43071297,"uuid":"277654645","full_name":"VRLabs/Simple-Shader-Inspectors","owner":"VRLabs","description":"Unity library to make shader inspector creation easier","archived":false,"fork":false,"pushed_at":"2024-09-17T10:08:00.000Z","size":5151,"stargazers_count":18,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-10T19:32:41.953Z","etag":null,"topics":["shader","shader-inspector","unity"],"latest_commit_sha":null,"homepage":"https://ssi.vrlabs.dev/","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/VRLabs.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}},"created_at":"2020-07-06T21:41:22.000Z","updated_at":"2024-09-04T06:30:53.000Z","dependencies_parsed_at":"2024-04-21T11:46:15.404Z","dependency_job_id":"7515c56a-2fa2-4db3-aaf3-d71dc19309c6","html_url":"https://github.com/VRLabs/Simple-Shader-Inspectors","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FSimple-Shader-Inspectors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FSimple-Shader-Inspectors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FSimple-Shader-Inspectors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VRLabs%2FSimple-Shader-Inspectors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VRLabs","download_url":"https://codeload.github.com/VRLabs/Simple-Shader-Inspectors/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244554067,"owners_count":20471173,"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":["shader","shader-inspector","unity"],"created_at":"2025-03-20T04:59:11.019Z","updated_at":"2025-03-20T04:59:11.569Z","avatar_url":"https://github.com/VRLabs.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors\"\u003e\n    \u003cimg alt=\"Simple Shader Inspectors\" width=\"200\" src=\"https://github.com/VRLabs/SimpleShaderInspectors/blob/master/Editor/Resources/SSI/Textures/Logo/Logo.png\"\u003e\n  \u003c/a\u003e\n  \u003ch1\u003eSimple Shader Inspectors\u003c/h1\u003e\n  \u003cp\u003e\n     Unity Editor library with the objective to make medium to complex shader inspectors easier to create and manage.\n  \u003c/p\u003e\n\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/releases/latest\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/VRLabs/SimpleShaderInspectors.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/releases/latest\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Unity-2019.4-green.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-raw/VRLabs/SimpleShaderInspectors.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-closed-raw/VRLabs/SimpleShaderInspectors.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr-raw/VRLabs/SimpleShaderInspectors.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues-pr-closed-raw/VRLabs/SimpleShaderInspectors.svg?style=flat-square\"\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\n## How to use\n\nTo use the library you need to create a shader inspector by substituting `ShaderGUI` with `SimpleShaderInspector`.\n\nHere is a quick example of how a simplistic shader inspector code looks.\n\n```csharp\nusing UnityEngine;\nusing UnityEngine;\nusing VRLabs.SimpleShaderInspectors;\n\npublic class TestShaderInspector : SimpleShaderInspector\n{\n    private PropertyControl _floatControl;\n    private LabelControl _labelControl;\n\n    public override void Start()\n    {\n        _floatControl = this.AddPropertyControl(\"_FloatProperty\").WithAlias(\"MyFloatProperty\");\n        _labelControl = this.AddLabelControl(\"MyLabel\");\n    }\n\n    public override void StartChecks(MaterialEditor materialEditor)\n    {\n        _labelControl.SetEnabled(_floatControl.Property.FloatValue \u003e 1);\n    }\n\n    public override void CheckChanges(MaterialEditor materialEditor)\n    {\n        if(_floatControl.HasPropertyUpdated)\n        {\n            _labelControl.SetEnabled(_floatControl.Property.FloatValue \u003e 1);\n        }\n    }\n}\n```\n\nThe above inspector has 2 controls, with the control displaying a label being displayed only when the material property `_FloatProperty` float value is above 1. The full guide that explains how all of this works can be found on the official [Documentation](https://ssi.vrlabs.dev).\n\nWe do also provide some more examples available to download in [Releases](https://github.com/VRLabs/SimpleShaderInspectors/releases/latest).\n\n## Current state\n\nRight now Simple Shader Inspectors is in a functional beta state, what does it mean? It means that it is a fully functional library that, if it satisfies your needs, can be used outside of pure testing enviroments, but it is not feature complete and it will for sure have multiple breaking changes before getting out of the beta state.\n\n## License\n\nSimple Shader Inspectors is available as-is under MIT. For more information see [LICENSE](https://github.com/VRLabs/SimpleShaderInspectors/blob/master/LICENSE).\n\n## Downloads\n\nThere are 3 packages available in [Releases](https://github.com/VRLabs/SimpleShaderInspectors/releases/latest):\n\n- **Simple Shader Inspectors:** base library for the end user.\n- **Simple Shader Inspectors dev:** development vesion for shader creators, contains some extra tools compared to the base library.\n- **Example inspectors:** good place to start looking on how the library works, requires one of the 2 packages above in order to work.\n\nYou can also download the repository itself, but unless you're looking into contributing in the project it is highly discouraged since it will very likely not end up in the right folder, possibly ending up causing problems later down the road.\n\n## Contributors\n\nYou want to help improve the library by adding more controls and/or fixing existing bugs? Feel free to contribute by sending a pr! We are always looking for improvements to the library!\n\n\u003ca href=\"https://github.com/VRLabs/SimpleShaderInspectors/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=VRLabs/SimpleShaderInspectors\" /\u003e\n\u003c/a\u003e\n\nMade with [contributors-img](https://contributors-img.web.app).\n\n## Showcase\n\nThese Shaders are using Simple Shader Inspectors for their editors, check them out!\n\n* [VRLabs Particle Shader](https://github.com/VRLabs/VRChat-Avatars-3.0) by [@VRLabs](https://github.com/VRLabs), our in house particle shader (at the moment the inspector is available only in the source code on github).\n\nMade an awesome shader using Simple Shader Inspector and want to show it off? Join our [Discord](https://discord.gg/THCRsJc) and show it to us! If we like it we may add it to this list!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrlabs%2Fsimple-shader-inspectors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvrlabs%2Fsimple-shader-inspectors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvrlabs%2Fsimple-shader-inspectors/lists"}