【VRChatワールド用】岩をよけて流れる川の水シェーダー「せせらぎ」【PC/Quest対応】
- Digital600 JPY
















岩のまわりで白く泡立つ、山あいの澄んだ川を、あなたのワールドに。 「せせらぎ」は、川の水のシェーダーと、川を作るツールのセットです。 川にしたい所に点を並べて「川を作る」を押すと、その道筋どおりに水が流れます。岸や岩に当たった所には白い泡が立ち、浅い所は川底が透けて、空も映ります。 流れは時刻から作るので、ワールドにいる全員に同じ川が見えます。 ■ ポイント ・流れに沿って動くさざ波と、岩・岸のまわりの白い泡 ・浅瀬は透けて、深い所は深い色に。空の映り込みと日のきらめき ・小川/渓流/大きな川/都会の水路のプリセット ・PC / Quest / スマホ対応(軽い版つき) ・日本語の設定画面(English にも切り替えられます) ↓ 動きは2枚目の GIF、くわしくは下へ。 ■ くわしく ・流れ:川のメッシュに沿って流れます(平らな面ならワールドの向きに)。真ん中ほど速く、岸の近くはゆっくり ・さざ波:テクスチャを使わないノイズを2層で流す方式なので、速さが場所で違っても模様が破れません ・白い泡:岸や岩と水が交わる所に、レースのような泡が立って流れていきます ・急流:上げると流れが速く荒くなり、白い筋が立ちます ・空の映り込み(Reflection Probe / Skybox)と太陽のきらめき ・カメラの深度がない環境でも、川の端(UV)や頂点カラーから泡を作ります 川の作り方 ・形を選ぶ:長さ・川幅・曲がりを決めて「川を作る」 ・選んだ点を通る:空の GameObject を通り道に並べて選ぶと、その点を通る水面ができます ・自分のメッシュ(Plane など)を選んで「川の水にする」こともできます ※岸や岩の泡にはカメラの深度が必要です(VRChat では、影を出す Directional Light があるワールドで使えます)。深度がないときは川の端から泡を作ります。 ※アバター向けではなく、ワールド向けのシェーダーです。 ■ 動作環境 ・Unity 2022.3(VRChat で使うバージョン)・ビルトイン レンダーパイプライン ・PC / Quest(Android)/ スマホ。Quest・スマホは「軽い版」をお使いください ・スマホ(Android)は Quest と同じアップロードで見られます(OpenGL ES 3 / Vulkan で確認) ・VRChat SDK3 Worlds(なくても動きます) ■ 導入 1. unitypackage を Unity にドラッグ&ドロップ 2. メニューの Tools > lv1101 > Seseragi (River Water) でウィンドウを開く 3. 川の種類と通り道を選んで「川を作る」 使い方は同梱の README_ja.txt に、設定画面の説明は商品画像の「設定画面ガイド」(日本語・英語)にあります。ウィンドウ右上で 日本語 / English を切り替えられます(Auto は PC の言語に合わせます)。 ■ 重さの目安 ・テクスチャ・GrabPass なし。透明の2パス(水の下の色づけ+水面)で、スクリプト(U#)も使いません ・Quest・スマホ向けに、泡を細い線にした「軽い版」があります ■ 内容物 ・Seseragi_1.0.1.unitypackage(README_ja.txt / README_en.txt 入り) ・利用規約.txt / TermsOfUse_en.txt ■ 利用規約(概要) ・VRChat のワールド(Public/商用・有料イベントを含む)で使えます ・改変できます ・シェーダー・スクリプトの再配布、転売はできません(改変したものも含む) ・クレジット表記は任意です(書いていただけると嬉しいです) くわしくは同梱の 利用規約.txt をご覧ください。 ※商品画像の背景(地形・岩・木・空)は撮影用で、商品には含みません。 背景の素材:Poly Haven(CC0)。商品には含みません。 ■ English Seseragi is a lightweight river water shader for VRChat worlds (Built-in RP, Unity 2022.3). Brooks, mountain streams, wide rivers and city canals: ripples that run with the flow (two-phase flow-map scrolling, no textures), lacy white foam where the water meets banks and rocks, rapids, clear shallows and deep colour, sky reflection and sun glint — made and tuned from a dedicated editor window. Make a river from a preset shape, through empty GameObjects you place along the course, or put it on your own mesh. No Udon / U# needed: the flow is driven by time, so every player sees the same. No textures, no GrabPass. PC / Quest / mobile supported (Lite toggle for Quest and mobile). Phones (Android) use the same upload as Quest; checked on OpenGL ES 3 and Vulkan. * Foam at banks and rocks needs the camera depth texture (in VRChat: a Directional Light with shadows in the world). Without it, foam comes from the river edges. • 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 > Seseragi (River Water) and press "Create River". 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.1 ツール画面の見やすさを改善(英語の項目名が切れない・数値を丸めて表示・日本語の改行位置)/ Tool window clean-up (labels no longer cut off, rounded numbers) スマホ(Android)での動作を確認・表記を追加 / Checked on phones (Android) 軽い版の泡を細い線に改善 / Lite: thinner, lace-like foam 1.0.0 最初の版 / First release
















