【VRChat】立体に見える額縁・窓シェーダー 奥行絵 オクユキエ Okuyukie Parallax Frame(ワールド向け)
- Digital500 JPY












VRChat ワールド向けの、額縁・ポスター・窓に奥行きを付けるシェーダーです。 1枚の絵(+手前・中の層)を、額縁の奥に置いたように描きます。のぞきこむと層がずれて(視差)、絵が立体に見えます。 窓モードでは、壁の向こうに何も作らなくても、外の景色がずっと奥にあるように見えます。専用ウィンドウで置いて調整できます(日本語 / English 対応)。 見え方はシェーダーが見る向きから計算するので、スクリプト(U#)なしで、ワールドにいる全員に同じように見えます。 GrabPass も深度テクスチャも使わないので、PC・Quest・スマホのどれでも動き、ミラーにも正しく映ります。 ■ できること ・奥行きのある絵:奥・中・手前の3つの層を、それぞれの深さに置いたように描きます(見る向きで層がずれる視差) ・額縁モード:箱の内側の壁と、ふちの影も見えます ・ポスターモード:枠なし・浅い奥行き ・窓モード:外の景色がずっと奥に。窓の桟とガラスのつや付き ・額縁のメッシュを作るボタン(木・金・黒。テクスチャなしで描画) ・見本の絵 3種類(山と湖 / 夜の街 / 夕暮れの海。コードで描いたもので、画像ファイルは入っていません) ・自分の絵:画像を選ぶだけ。手前の層(透明部分のある PNG)を足すとより立体に ・層ごとの深さ・大きさ、明るさ(自分で光る / ワールドの光)、大きさの変更(枠も作り直し) ・Quest・スマホ向けの「軽い版」(中の層・ふちの影・ガラスのつやを省く) ・ボタン1つで作成、Ctrl+Z 1回で戻せます。「消す」ボタン付き ■ 動作環境 ・Unity 2022.3(VRChat で使うバージョン) ・ビルトイン レンダーパイプライン ・PC / Quest(Android)/ スマホ(Quest・スマホ用は「軽い版」をオン) ・スマホ(Android)は、Quest と同じアップロードでそのまま見られます(OpenGL ES 3 / Vulkan で動作確認済み) ・VRChat SDK3 Worlds(なくても動きます) ■ 導入 1. unitypackage を Unity にドラッグ&ドロップしてインポート 2. メニューの Tools > lv1101 > Okuyukie (Parallax Frame) でウィンドウを開く 3. 種類(額縁 / ポスター / 窓)と絵を選んで「奥行絵を置く」を押し、壁に掛ける 詳しい使い方は同梱の README_ja.txt をご覧ください。 設定画面の説明は、商品画像の「設定画面ガイド」(日本語・英語)にあります。 ウィンドウ右上で 日本語 / English を切り替えられます(Auto は PC の言語に合わせます)。 ■ 重さの目安 1つの奥行絵:絵の板 1回(画像を3回読む。軽い版は2回)+ 枠 1回(Standard と同じくらい、三角形 48 枚)。見本の絵は 1024×1024 の画像(圧縮)3枚ずつ。 ■ 内容物 ・Okuyukie_1.0.0.unitypackage(README_ja.txt / README_en.txt 入り) ・利用規約.txt / TermsOfUse_en.txt ※商品ページの画像に映っているワールド・モデルなどは商品に含みません(画像の見本の絵は商品のツールがコードで描いたものです)。 ※アバター向けではなく、ワールド向けのシェーダーです。 ※奥行きは「絵の中」だけの見せかけです(壁に穴は開きません)。とても浅い角度からは層の端が見えることがあります(層の大きさで調整できます)。 ※絵の板はライトマップを使いません(ライトプローブ・環境光と「自分で光る」で明るさが決まります)。枠は Standard と同じ光の計算です。 ■ 利用規約(概要) ・VRChat のワールド(Public/商用・有料イベントを含む)で使えます ・改変できます ・シェーダー・スクリプトの再配布、転売はできません(改変したものも含む) ・クレジット表記は任意です(書いていただけると嬉しいです) 詳しくは同梱の 利用規約.txt をご覧ください。 ―――――――――――――――― ■ English Okuyukie is a parallax picture shader for VRChat worlds (Built-in RP, Unity 2022.3). It draws a picture (plus optional front and middle layers) as if it sat deep inside a frame: look from the side and the layers shift against each other, so the picture looks 3D. Window mode makes the view outside look far away, with no scenery behind the wall. No Udon / U# needed: everyone sees the same. No GrabPass and no depth texture, so it works on PC, Quest and phones, and in mirrors. Frame (deep box with inner walls), Poster (no frame, shallow) and Window (bars, glass sheen) modes. A button makes the frame mesh (wood, gold, black; no textures). Three sample pictures painted by code (no image files included), or use your own image. Per-layer depth and size, self light / world light, resize. Lite setting for Quest and mobile. Phones (Android) use the same upload as Quest; checked on OpenGL ES 3 and Vulkan. Cost: the picture is one draw (3 image reads; Lite 2) + the frame one draw (about like Standard). • Full English UI: switch Auto / 日本語 / English at the top right of the window • English README (README_en.txt) and Terms of Use (TermsOfUse_en.txt) included • English settings guide images are included in the product images Install: import the unitypackage, open Tools > lv1101 > Okuyukie (Parallax Frame), choose the kind and the picture, press "Place Okuyukie" and hang it on your wall. Terms (summary): usable in VRChat worlds including public / commercial worlds and paid events; modification allowed; redistribution or resale of the shader / scripts (including modified versions) is not allowed; credit is optional. ■ 更新履歴 / Version history 1.0.0 最初の版 / First release












