{"id":23066577,"url":"https://github.com/xjine/unity_billboardshader","last_synced_at":"2025-04-03T09:13:04.622Z","repository":{"id":158985385,"uuid":"634355713","full_name":"XJINE/Unity_BillboardShader","owner":"XJINE","description":"These quads always show their faces to the camera.","archived":false,"fork":false,"pushed_at":"2023-04-29T21:19:09.000Z","size":792,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-08T22:28:20.681Z","etag":null,"topics":["billboard","shader","unity"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","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/XJINE.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":"2023-04-29T21:11:22.000Z","updated_at":"2024-04-05T06:49:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee53ac77-d48c-45c5-85e6-361891969bdb","html_url":"https://github.com/XJINE/Unity_BillboardShader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_BillboardShader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_BillboardShader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_BillboardShader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/XJINE%2FUnity_BillboardShader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/XJINE","download_url":"https://codeload.github.com/XJINE/Unity_BillboardShader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970322,"owners_count":20862509,"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":["billboard","shader","unity"],"created_at":"2024-12-16T05:13:55.879Z","updated_at":"2025-04-03T09:13:04.614Z","avatar_url":"https://github.com/XJINE.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Unity_BillboardShader\n\n\u003cimg src=\"https://github.com/XJINE/Unity_BillboardShader/blob/main/Screenshot.gif\" width=\"100%\" height=\"auto\" /\u003e\n\nThese quads always show their faces to the camera.\n\n```hlsl\nv2f vert (appdata_full v)\n{\n\tv2f o;\n\n\tfloat3 vpos       = mul(unity_ObjectToWorld, v.vertex.xyz);\n\tfloat4 worldCoord = float4(unity_ObjectToWorld._m03_m13_m23, 1);\n\tfloat4 viewPos    = mul(UNITY_MATRIX_V, worldCoord) + float4(vpos, 0);\n\n\to.vertex = mul(UNITY_MATRIX_P, viewPos);\n\to.uv     = v.texcoord;\n\n\treturn o;\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_billboardshader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjine%2Funity_billboardshader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjine%2Funity_billboardshader/lists"}