{"id":13784933,"url":"https://github.com/gkjohnson/unity-dithered-transparency-shader","last_synced_at":"2025-11-13T22:53:20.277Z","repository":{"id":40302559,"uuid":"101578328","full_name":"gkjohnson/unity-dithered-transparency-shader","owner":"gkjohnson","description":"Unity material and shader for applying clipped, dithered transparency","archived":false,"fork":false,"pushed_at":"2021-01-03T17:13:11.000Z","size":2342,"stargazers_count":314,"open_issues_count":2,"forks_count":30,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-06T21:09:18.261Z","etag":null,"topics":["3d","amplify-shader-editor","dither","graphics","rendering","shaderforge","shaders","transparency","unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","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/gkjohnson.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}},"created_at":"2017-08-27T20:26:44.000Z","updated_at":"2025-05-24T13:50:57.000Z","dependencies_parsed_at":"2022-09-04T13:01:39.386Z","dependency_job_id":null,"html_url":"https://github.com/gkjohnson/unity-dithered-transparency-shader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gkjohnson/unity-dithered-transparency-shader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-dithered-transparency-shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-dithered-transparency-shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-dithered-transparency-shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-dithered-transparency-shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gkjohnson","download_url":"https://codeload.github.com/gkjohnson/unity-dithered-transparency-shader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gkjohnson%2Funity-dithered-transparency-shader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284304462,"owners_count":26982161,"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","status":"online","status_checked_at":"2025-11-13T02:00:06.582Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["3d","amplify-shader-editor","dither","graphics","rendering","shaderforge","shaders","transparency","unity","unity3d"],"created_at":"2024-08-03T19:00:54.218Z","updated_at":"2025-11-13T22:53:20.254Z","avatar_url":"https://github.com/gkjohnson.png","language":"ShaderLab","funding_links":[],"categories":["ComputerGraphics \u0026\u0026 Shadingv","Other Shaders"],"sub_categories":["Google Analytics"],"readme":"# unity-dithered-transparency-shader\n\n![example](./docs/example.gif)\n\nUnity shader to enable a dithered transparency when rendering transparent objects\n\n## Use\n\nUses the material's alpha to determine whether a pixel should be discarded or not. Either a dither matrix or dither texture can be used.\n\n## Dither Options\n**Dither Texture**\n\nTexture defining the dither pattern. The \"red\" channel is used from the texture to compare against the materials alpha.\n\n**Dither Scale**\n\nThe scale of the dither texture in screen-space pixels.\n\n## Extending and Reuse\nThe functions for performing the dither effect are available in the [Dither Functions.cginc](./Assets/DitherFunctions/Shaders/Dither%20Functions.cginc) so they can easily be added to and used with other shaders and functions.\n\n### In Visual Shader Builders\n\n[Amplify Shader Editor](/docs/AmplifyShaderEditor.md)\n\n[ShaderForge](/docs/ShaderForge.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Funity-dithered-transparency-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgkjohnson%2Funity-dithered-transparency-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgkjohnson%2Funity-dithered-transparency-shader/lists"}