{"id":22684978,"url":"https://github.com/narazaka/tiled-number-shader","last_synced_at":"2026-04-16T22:31:04.987Z","repository":{"id":267190848,"uuid":"851728854","full_name":"Narazaka/tiled-number-shader","owner":"Narazaka","description":"Shader (+cginc) to handle tiled number textures","archived":false,"fork":false,"pushed_at":"2024-09-03T21:06:53.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T20:09:52.957Z","etag":null,"topics":["shaders","unity3d","vrchat"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Narazaka.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":"2024-09-03T16:00:14.000Z","updated_at":"2024-11-22T20:50:16.000Z","dependencies_parsed_at":"2024-12-09T00:05:45.102Z","dependency_job_id":"8507f923-4e27-4586-8036-64eea04cfef6","html_url":"https://github.com/Narazaka/tiled-number-shader","commit_stats":null,"previous_names":["narazaka/tiled-number-shader"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Ftiled-number-shader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Ftiled-number-shader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Ftiled-number-shader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Narazaka%2Ftiled-number-shader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Narazaka","download_url":"https://codeload.github.com/Narazaka/tiled-number-shader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246200323,"owners_count":20739566,"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":["shaders","unity3d","vrchat"],"created_at":"2024-12-09T22:12:32.611Z","updated_at":"2025-10-31T03:39:08.504Z","avatar_url":"https://github.com/Narazaka.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiled Number Shader\n\nShader (+cginc) to handle tiled number textures\n\n## Install\n\n### OpenUPM\n\nsee [OpenUPM page](https://openupm.com/packages/net.narazaka.unity.tiled-number-shader/)\n\n### VRChat Creaters Companion (VCC)\n\n1. Press \"Add to VCC\" on https://vpm.narazaka.net/ to add Narazaka's repository to VCC.\n2. Make sure that \"Narazaka VPM Listing\" is enabled in VCC -\u003e Settings -\u003e Packages -\u003e Installed Repositories.\n3. Install \"Tiled Number Shader\" from your project's \"Manage Project\".\n\n## cginc Usage\n\n```\n#include \"../net.narazaka.unity.tiled-number-shader/TiledNumber.cginc\"\n\n/// uv: UV\n/// targetSize: display target region size\n/// targetOffset: display target region offset\n/// tileRegionSizeInTex: tile region size in tex\n/// tileRegionOffsetInTex: tile region offset in tex\n/// n: tile number\n/// col: tile column\n/// row: tile row\n/// isUp: true if order is uv native\n///  true:\n///   3 4 5\n///   0 1 2\n///  false:\n///   0 1 2\n///   3 4 5\nfloat2 TiledNumber_placeTileUV(float2 uv, float2 targetSize, float2 targetOffset, float2 tileRegionSizeInTex, float2 tileRegionOffsetInTex, uint n, uint col, uint row, bool isUp);\n\n/// uv: UV\n/// targetSize: display target region size\n/// targetOffset: display target region offset\n/// tileRegionSizeInTex: tile region size in tex\n/// tileRegionOffsetInTex: tile region offset in tex\n/// n: tile number\n/// col: tile column\n/// row: tile row\n/// isUp: true if order is uv native\n///  true:\n///   3 4 5\n///   0 1 2\n///  false:\n///   0 1 2\n///   3 4 5\n/// digitCount: number of digits (00 -\u003e 2, 0000 -\u003e 4)\n/// zeroFill: zero fill (true -\u003e \"0123\", false -\u003e \" 123\"). The 10th tile in the texture must be blank for this feature.\nfloat2 TiledNumber_placeTileUV(float2 uv, float2 targetSize, float2 targetOffset, float2 tileRegionSizeInTex, float2 tileRegionOffsetInTex, uint n, uint col, uint row, bool isUp, uint digitCount, bool zeroFill);\n```\n\n## License\n\n[Zlib License](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Ftiled-number-shader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarazaka%2Ftiled-number-shader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarazaka%2Ftiled-number-shader/lists"}