{"id":24583445,"url":"https://github.com/dotmos/unityshadergraphpatcher","last_synced_at":"2026-05-14T13:38:10.594Z","repository":{"id":272757465,"uuid":"917641919","full_name":"dotmos/UnityShaderGraphPatcher","owner":"dotmos","description":"Patcher for Unity Shadergraph shaders. Adds some features that are currently not available in Shadergraph.","archived":false,"fork":false,"pushed_at":"2025-02-10T10:07:50.000Z","size":197,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T11:23:28.862Z","etag":null,"topics":["patch","rendering","shadergraph","shaders","tool","unity","unity3d"],"latest_commit_sha":null,"homepage":"","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/dotmos.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":"2025-01-16T11:27:34.000Z","updated_at":"2025-02-10T10:07:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"91b2a288-fb51-420b-8153-3e6d23bcd039","html_url":"https://github.com/dotmos/UnityShaderGraphPatcher","commit_stats":null,"previous_names":["dotmos/unityshadergraphpatcher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmos%2FUnityShaderGraphPatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmos%2FUnityShaderGraphPatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmos%2FUnityShaderGraphPatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotmos%2FUnityShaderGraphPatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotmos","download_url":"https://codeload.github.com/dotmos/UnityShaderGraphPatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075639,"owners_count":20393979,"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":["patch","rendering","shadergraph","shaders","tool","unity","unity3d"],"created_at":"2025-01-24T04:41:23.107Z","updated_at":"2025-10-24T03:02:34.146Z","avatar_url":"https://github.com/dotmos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity Shadergraph Patcher\n![UnityVersion](https://img.shields.io/static/v1?label=unity\u0026message=2022.3%2B\u0026color=blue\u0026style=flat\u0026logo=Unity)\n![GitHub](https://img.shields.io/github/license/dotmos/unityshadergraphpatcher)\n\nPatcher utility for Unity Shadergraph shaders.\u003c/br\u003e\nAdds features to Shadergraph shaders that are currently not available in Shadergraph.\u003c/br\u003e\nTested with Shadergraph 14.0.11 and URP 14.0.11 . HDRP has not been tested.\nThe SV_InstanceID issue has been fixed in Unity6 and you no longer need to patch it.\n\n### Features\n\n- Use SV_InstanceID instead of unity_InstanceID when using the InstanceID-node. This breaks instancing support for the shader, but in return allows using the shader with IndexedIndirect render functions. i.e. Graphics.RenderPrimitivesIndexedIndirect. NOTE: This has been fixed in Unity6 and you no longer need to patch this.\n- Add \"nointerpolation\" attribute to CustomInterpolators / Vertexshader output\n- Support for uint, int, min16uint and min16int vertex input attributes. i.e. \"float4 uv2 : TEXCOORD2;\" becomes \"min16uint4 uv2 : TEXCOORD2;\". NOTE: This will **ONLY** patch vertex INPUT! All other nodes/code will not be affected. \n\n### Patching\n\nWhen patching a shader, the original shader(graph) will not be touched and a new shader will be created instead.\u003c/br\u003e\nThe new shader will have the suffix \"_Patched\".\u003c/br\u003e\ni.e. Opaque.shadergraph will become Opaque_Patched.shadergraph\u003c/br\u003e\nThe name of the new shader will also be changed.\u003c/br\u003e\ni.e. \"Shader Graphs/Opaque\" will become \"Shader Graphs/Opaque_Patched\"\n\n\u003cimg src=\"./Docs/Graph.jpg\"\u003e\n\nIf patching both SV_InstanceID and nointerpolation, \"InstanceID\" in the screenshot above will contain SV_InstanceID instead of unity_InstanceID and \"NoInterpolationData\" will get the \"nointerpolation\" attribute.\n\n### How To\n\n\u003cimg src=\"./Docs/PatcherWindow.jpg\"\u003e\n\nCopy the \"Editor\" folder to your Unity project. The patcher will then be available under \"Tools/Shader Graph Patcher\".\u003c/br\u003e\nDrag and drop a shadergraph or shader to the window and select the features you want to patch.\u003c/br\u003e\nThen press \"Patch\"\n\n~ Use at your own risk. ~\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmos%2Funityshadergraphpatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotmos%2Funityshadergraphpatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotmos%2Funityshadergraphpatcher/lists"}