【VRChat】V睡・寝落ちの演出 寝息 ネイキ Neiki Sleep Effect(アバター向け)
- ダウンロード商品¥ 500













VRChat アバター向けの、V睡(VR で寝る)用の演出シェーダーです。PC のアバター専用です。 自分のまわりをやわらかく暗い光で包み、Zzz と小さな星(月明かりでは三日月も)がゆっくり浮かびます。自分の視界だけ、まぶたを閉じたように暗くなります。 ほかの人には、光・Zzz・星だけが見えます。まぶたの暗さは、VRChat が本人の視点で頭を縮めている時だけ描くしくみなので、ほかの人・ミラー・VRChat のカメラには写りません。 Zzz・星・三日月はシェーダーで形を描いています(テクスチャ素材は使いません)。 VRChat の色空間(Linear)で、明るさ・暗さを確認済みです。 スクリプト(U#)なしで、全員に同じ見え方で動きます。 日本語 / English の専用ウィンドウで、アバターを選んでプリセットを選び、ボタン1つで付けられます。 ■ できること ・体のまわりのやわらかく暗い光(胸・腰・ひざの骨についていくので、寝転んでも体を包む)。寝息のようにゆっくりふくらむ ・Zzz が頭の上からゆっくり浮かぶ(数・色・ふち・大きさ・速さ) ・小さな星がまわりを漂い、またたく(数・色・大きさ)/三日月(オン・オフ) ・自分の視界だけ、まぶたが閉じるように暗く(暗さ・暗い所の色) ・プリセット:すやすや / 星空 / 月明かり ・Animator の _Amount でオン・オフ。前半で光と Zzz が出て、後半でまぶたが閉じる ・「オン・オフのアニメを作る」ボタン:On(設定した秒数でゆっくり暗くなる)・Off・Amount(Radial Puppet 用) ・非破壊:首の骨の子にオブジェクトを1つ足すだけ。アバターのメッシュ・マテリアルは変えません ・「外す(元に戻す)」ボタンで外せます。付けるのも Ctrl+Z 1回で取り消せます ■ 動作環境 ・Unity 2022.3(VRChat で使うバージョン) ・ビルトイン レンダーパイプライン ・PC 専用(VRChat の仕様で、Quest・スマホのアバターではカスタムシェーダーが使えません) ・VRChat SDK3 Avatars(なくてもコンパイルできます。Modular Avatar も不要です) ■ 導入 1. unitypackage を Unity にドラッグ&ドロップしてインポート 2. メニューの Tools > lv1101 > Neiki (Sleep Effect) でウィンドウを開く 3. Hierarchy でアバターを選び、プリセットを選んで「寝息を付ける」を押す 4. 「調整」タブの「オン・オフのアニメを作る」で作ったアニメを、FX レイヤーと Expression メニューのトグルで使う 詳しい使い方は同梱の README_ja.txt をご覧ください。 設定画面の説明は、商品画像の「設定画面ガイド」(日本語・英語)にあります。 ウィンドウ右上で 日本語 / English を切り替えられます(Auto は PC の言語に合わせます)。 ■ 重さの目安 アバターの統計:Skinned Mesh +1、マテリアル +1、ポリゴン +53(小さな四角形 26 枚と三角形 1 枚)。描画は1回(1パス、影なし、ライトの影響なし)。 量(_Amount)が 0 の時は、頂点の計算だけで何も描きません。まぶたが閉じている時は、自分の画面全体を1回塗ります。 Bounds は体を包む 1.4 × 2.0 × 1.4 m(アバターの大きさに合わせる)で、首の骨と一緒に回ります。 ■ 内容物 ・Neiki_1.0.0.unitypackage(README_ja.txt / README_en.txt 入り) ・利用規約.txt / TermsOfUse_en.txt ※商品ページの画像の部屋は、動作確認用の見本です(商品に含みません)。 ※画像のアバター:ゆめか Yumeka(©Arka_X / https://booth.pm/ja/items/8672657 )。商品には含みません。 ※一人称で頭を縮めない設定(VRCHeadChop で頭の大きさを 1 にする)だと、まぶたは暗くなりません。 ※Unity のエディタでは、目の位置の球の中から見ると暗くなります(シーンビューで確かめられます)。 ※ゆっくり暗くなるのは、Animator で _Amount を動かすアニメ(付属のボタンで作れます)によるものです。 ■ 利用規約(概要) ・VRChat のアバター(Public/商用・有料イベントでの使用を含む)で使えます ・改変できます ・シェーダー・スクリプトの再配布、転売はできません(改変したものも含む) ・クレジット表記は任意です(書いていただけると嬉しいです) 詳しくは同梱の 利用規約.txt をご覧ください。 ―――――――――――――――― ■ English Neiki is a sleep effect shader for VRChat avatars, for sleeping in VR (PC only, Built-in RP, Unity 2022.3). A soft, dim glow wraps around you, and Zzz and small stars (and a crescent moon in Moonlight) rise slowly. Only your own view darkens, like closing eyelids. Other players see the glow, Zzz and stars only: the eyelids are drawn only while VRChat shrinks your own head, so other players, mirrors and VRChat's camera never show them. The Zzz, stars and moon are drawn as shapes by the shader (no textures). Checked in VRChat's Linear colour space. No Udon / U# needed; everyone sees the same. Select your avatar in the dedicated window, choose a preset (Sleepy / Starry / Moonlight) and press one button. It is non-destructive: one object is added under the Neck bone; your meshes and materials are not changed. "Remove" takes it off. The glow follows your chest, hip and knee bones, so it wraps your body when you lie down. Animate _Amount to switch it on and off: the "Make the On / Off clips" button makes an On clip that fades in slowly, an Off clip and an Amount clip for a Radial Puppet. PC avatars only: VRChat does not allow custom shaders on Quest / mobile avatars. Performance: Skinned Mesh +1, Material +1, Polygons +53, one draw (one pass, no shadows). Nothing is drawn at Amount 0; with the eyelids closing, your own screen is filled once. Avatar in the images: Yumeka (©Arka_X), not included. • 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 > Neiki (Sleep Effect), select your avatar, choose a preset and press "Add Neiki". Terms (summary): usable on VRChat avatars, including public use, commercial use 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













