{"id":22280031,"url":"https://github.com/wraikny/ghostshader","last_synced_at":"2025-07-28T18:31:55.242Z","repository":{"id":56819573,"uuid":"481123852","full_name":"wraikny/GhostShader","owner":"wraikny","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-11T14:28:48.000Z","size":82,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T03:41:47.842Z","etag":null,"topics":["shader","vrchat"],"latest_commit_sha":null,"homepage":"","language":"HLSL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wraikny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-13T07:55:29.000Z","updated_at":"2022-12-25T18:27:09.000Z","dependencies_parsed_at":"2023-01-21T13:00:10.163Z","dependency_job_id":null,"html_url":"https://github.com/wraikny/GhostShader","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraikny%2FGhostShader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraikny%2FGhostShader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraikny%2FGhostShader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wraikny%2FGhostShader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wraikny","download_url":"https://codeload.github.com/wraikny/GhostShader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227943951,"owners_count":17845111,"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","vrchat"],"created_at":"2024-12-03T15:25:39.758Z","updated_at":"2024-12-03T15:25:40.550Z","avatar_url":"https://github.com/wraikny.png","language":"HLSL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GhostShader\n\n## Ghost Shader\n\n`_CameraDepthTexture`から取得した距離に応じて透過するシェーダー。\n\nVRChatではDirectional Lightをアバターに入れないと上手く動かないことがあるので、\nCullingMaskにreservedを指定済みかつIntensityを低くしたものをPrefabにした。\n\nMain Textureが空だと描画がおかしくなる場合があったので、whiteテクスチャも入れておいた。\n\n### Properties\n\n* Main Texture: テクスチャ\n* Color: 色\n* Mirror Alpha: 鏡の中での透過度\n* IsFading: 距離に応じて透過を行う\n* Min Distance: 透過の最小距離（これより近いと、はっきり見える）\n* Max Distance: 透過の最大距離（これより遠いと、まったく見えない）\n* Distance Mode: 環境への距離とオブジェクトへの距離のどちらを利用するか\n* Force Mirror View: 鏡の中での見え方を確認する（デバッグ用）\n\n## YubiCamera Shader\n\n指で囲った四角形の内側でのみ見えるシェーダー。  \n正確には上下左右方向に一定距離以内の深度値がサンプリングされると描画されるシェーダー。\n\nVRChatではDirectional Lightをアバターに入れないと上手く動かないことがあるので、\nCullingMaskにreservedを指定済みかつIntensityを低くしたものをPrefabにした。\n\n### Properties\n\n* Main Texture: テクスチャ\n* Color: 色\n* Distance: 囲いを判定する最大距離\n* Sampling Range: サンプリング範囲\n* Visible Mode: 枠の中でのみ見える(InFrame)か、枠の外でのみ見える(OutFrame)か\n* VisibleInMirror: ミラーの中で見えるか\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraikny%2Fghostshader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwraikny%2Fghostshader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwraikny%2Fghostshader/lists"}