Repository navigation
Releases
Releases · bmbb93/clearwater-vrc
v1.3.1
変更
- デスクトップで空のパネルを、Tab キーを押している間だけ、画面の真ん中に出すようにしました。視点を動かしてもついてきて、Tab を押している間は VRChat がカーソルを自由にするので、そのままクリックで操作できます。これまでは目の前 1.2 m に置いたままで、Tab を離すとカーソルが戻り、照準を合わせようとすると視点が動きました。小石の
Desktop Distanceはなくなり、画面を埋める割合のDesktop Fill(初期値 64%)になりました - Build Demo Scenes は、Beach にもパネルを出す小石を置かなくなりました。どのデモも、見た目のない呼び出し役(Sky Panel Caller)だけで、VR のトリガー 2 回とデスクトップの Tab でパネルを出します
追加
- パネルが出るとき(0.18 秒)と消えるとき(0.15 秒)にフェードし、少し大きくなりながら出ます(パネルの CanvasGroup。
Show Time・Hide Time) - 三人称視点(F5)で Tab を押すと、パネルの代わりに「パネルは一人称視点で使えます(F5 で切り替え)」と案内を出します(三人称では Tab がカメラの回転になり、カーソルが自由になりません)
- すでにあるシーンは、Add Sky Control Panel で作り直すとフェードと案内が付きます(作り直さなくても、新しい呼び出し方では動きます)
Changed
- On desktop the sky panel shows only while the Tab key is held, in the middle of the screen, and follows the view. VRChat frees the cursor while Tab is held, so you click it as it is. It used to be left 1.2 m in front of you, and once Tab was released the cursor went back to the center and aiming at it turned the view. The pebble's
Desktop Distanceis gone, replaced byDesktop Fill(how much of the view it fills; 64% by default) - Build Demo Scenes no longer places the pebble that shows the panel, not even in Beach. Every demo has only the caller with no visuals (Sky Panel Caller), and the panel comes with two pulls of the trigger in VR or Tab on desktop
Added
- The panel fades in (0.18 s), growing a little, and out (0.15 s) (a CanvasGroup on the panel;
Show Time,Hide Time) - In third person view (F5), Tab shows "the panel works in first person (F5)" instead of the panel (in third person Tab turns the camera and frees no cursor)
- In an existing scene, run Add Sky Control Panel again to get the fade and the hint (without it, the new way of bringing it up still works)
v1.3.0
変更
- 雲を作り直しました。積雲を立体として、日の光と空の光で照らして描きます。底は平らで頂はもこもこと丸く、日の当たる側は白く、陰と底は淡い灰色で、縁はほつれて青が透けます。雲はシーンごとの雲のドーム(2048 × 1024 の CustomRenderTexture)に少しずつ描き直し(16 本の帯を順に。約 0.2 秒で空を一周)、空・水面の映り込み・水中から見上げた空は、それを 1 回読むだけです。描き直しの合間も、雲は風に合わせてなめらかに流れます。負荷は RTX 4070 Ti SUPER で 1 フレーム約 0.4 ms で、画面の大きさや VR の両目によらず 1 回です。雲の量を減らすと、まばらな所の雲から消え、残る雲も小さくなります。ドームは Build Scene、Coast の Bake、シーンを開いたときに、
Generatedのシーンのフォルダーに作られます - 遠くの雲が地平線まで同じ模様で繰り返して見えなくなりました(雲の地図を 2 通りに読み分け、雲量の場も 2 つの縮尺で読みます)。夕暮れに雲の照らされた面に出ていた細かいざらつきと、頂の灰色の汚れのような陰もなくしました。夕暮れの雲は、照らされた下側を抑え、陰の頂を空の光で明るくして、明暗の差を和らげました。日が沈んだ後に雲の平らな底だけが光り、円盤のように見えていたのもなくしました
- 時刻を進めるとき、空を毎フレーム計算します(
Update intervalの初期値を 0.1 秒から 0 に)。太陽・月・星と Directional Light(影の向き)がなめらかに動き、夕暮れの空の明るさも段々にならずに変わります。これまでは 1 日を数分にすると、カクカクと進みました。負荷は Udon で 1 フレーム約 0.11 ms で、描画の負荷は変わりません。間隔を空けても、向きは毎フレーム動きます。すでにあるシーンの Sun には 0.1 秒が保存されているので、Clearwater Sky のUpdate intervalを 0 にしてください - 空のリフレクションプローブ(Sky Reflection (Clearwater))の解像度を 128 から 512 にしました。窓ガラスなど滑らかな面に映る雲と太陽が、ぼやけずに映ります。空だけを描くので、描き直しの負荷はほとんど変わりません。すでにあるシーンは、Build Scene をかけ直すか、プローブの Resolution を 512 にしてください
追加
- 雲の影:雲が海と浜に柔らかい影を落とし、雲と一緒に流れます(夜は月の光を遮ります)
- 小石の
Hand Reach:VR で左手に呼び出したパネルを、手の 25 cm 先(目から離れる向き)に出します。手のすぐ上では近すぎて操作しにくかったためです。そのぶんHand Sizeの初期値を 0.4 から 0.55 にしました(シーンに置いた小石の値は変わりません) - 左手に呼び出したパネルは、出した位置にとどまります(手に追従していると、右手で触ろうとしてもパネルが逃げました)。目から
Hand Close Distance(初期値 1.5 m)離れると隠れます - Clearwater Controller の
BuildingsとIndoor Level:建物の箱(Sky Light Volumes と同じ)を入れると、中では波音を遮って小さくし(初期値 0.3 倍)、床下を通る波打ち際からは鳴らしません。浜の上に建つ家の中で、床下の波打ち際から波音が大きく鳴っていました - 空のマテリアルの
As in 1.2:雲を 1.2 までの雲(空が画素ごとに描く平らな雲。影なし)に戻せます。1.2 で作ったワールドの見た目を保つためで、初期値はオフ(新しい雲)です。オンのときは雲のドームを描かないので、負荷も 1.2 と同じです
Changed
- The clouds are made anew. They are cumulus drawn as a volume, lit by the sun and the sky: flat bases and rounded, heaped tops, white on the sunlit side, light grey in the shade and underneath, with frayed edges the blue shows through. They are redrawn a little at a time into a cloud dome for each scene (a 2048 × 1024 CustomRenderTexture; 16 strips in turn, the whole sky in about 0.2 seconds), and the sky, the reflections on the water and the sky seen from underwater just read it once. Between redraws the clouds still drift smoothly with the wind. On an RTX 4070 Ti SUPER they cost about 0.4 ms per frame, once whatever the screen size and for both VR eyes. With less cloud, clouds go from the sparse places first, and the ones left are smaller. The dome is made in the scene's folder in
Generatedby Build Scene, by the Coast's Bake and when the scene is opened - The far clouds no longer repeat the same pattern to the horizon (the cloud map is read two ways, and the cover's field at two scales). The fine grain on the clouds' lit faces at dusk, and the gray, smudge-like shade on their tops, are gone. At dusk the clouds' lit undersides are softer and their shaded tops lighter with the skylight, so the contrast is gentler; after sunset their flat bases no longer glow alone like saucers
- When the time passes, the sky is worked out every frame (
Update intervaldefaults to 0 instead of 0.1 s): the sun, the moon, the stars and the Directional Light (the shadows' direction) move smoothly, and the dusk sky's brightness no longer changes in steps. With a day of a few minutes they used to move in jerks. It costs about 0.11 ms of Udon a frame; the rendering cost is unchanged. With an interval, the directions still move every frame. Existing scenes keep the 0.1 s saved on their Sun: set Clearwater Sky'sUpdate intervalto 0 - The sky's reflection probe (Sky Reflection (Clearwater)) is 512 instead of 128: the clouds and the sun reflected on smooth surfaces such as window glass are no longer blurred. It draws the sky alone, so redrawing it costs hardly more. In existing scenes, run Build Scene again or set the probe's Resolution to 512
Added
- Cloud shadows: the clouds cast soft shadows on the sea and the beach, drifting with them (at night they cut the moonlight)
- The pebble's
Hand Reach: the panel called up on the left hand in VR shows 25 cm beyond the hand (away from the eyes); right over the hand it was too close to work.Hand Sizenow defaults to 0.55 instead of 0.4 to match (pebbles already in a scene keep their values) - The panel called up on the left hand stays where it appeared (following the hand, it moved away when the right hand reached for it). It hides when the eyes are
Hand Close Distance(1.5 m by default) away from it BuildingsandIndoor Levelon Clearwater Controller: with the buildings' boxes (the same as the Sky Light Volumes) in it, the sea is shut out indoors (0.3 by default), and the surf no longer sounds from the waterline under a floor. In a house built over the beach, the surf sounded loud from the waterline under the floorAs in 1.2on the sky material: the clouds can go back to those up to 1.2 (flat clouds the sky draws for each pixel; no shadows), to keep the look of worlds made with 1.2. It is off by default (the new clouds). While it is on, the cloud dome is not drawn, so they cost the same as in 1.2
v1.2.0
追加
- 建物の中の空の光:空だけで焼いた Additive の Light Volume(VRC Light Volumes)を Clearwater Sky の
Sky Light Volumesに入れると、その色と強さが時刻の空に合わせて変わります。窓から入る空の光が、昼は白く、夕方は橙に、夜は月明かりになります。ライトマップは照明など時刻によらない光だけで焼けば、時刻を変えても室内が昼のまま明るく残りません。Light Volume ごとの倍率(Sky Light Gains。室内の目の慣れの分)、地平線から来る光の割合(Sky Light Horizon)、日差しの照り返し(Sun Bounce)も決められます。空だけで焼いたリフレクションプローブの強さも合わせられ(Sky Reflection Probes)、照明だけで焼いた Light Volume を夜に強めることもできます(Lamp Light Volumes。夜の室内で目が灯りに慣れる分)(README の「建物の中の空の光」) Sky Light Volumesの箱は、浜と水にとっての建物になります。箱の中の浜と水には Additive の Light Volume を足さず(空の光が二重になり、箱の形に明るくなっていました)、箱の中の Point Light Volume は浜と水を照らしません(室内の照明が壁を抜けて、外の砂に漏れていました)- VRC Light Volumes 3.0 に対応しました(3.0.0-dev.20 で確認)。3.0 を入れたプロジェクトでもコンパイルが通り、Build Demo Scenes が Demo_LightVolumes を 3.0 の作り方(点光源の設定を Point Light Volume Instance に持たせ、Light Volume Manager に登録する)で作ります。浜・水底・泡は、3.0 でも 2.x と同じように Light Volumes の光を受けます。2.x のプロジェクトと、Light Volumes のないプロジェクトの動作は変わりません
- 遠景の陸が海岸に沿うようになりました。海岸があれば、陸は 2 km 先まで地面が続く方角にだけ立ち、海岸線が歩ける浜から離れていく所では、海岸と一緒に海面まで下がります(海岸が斜めに延びていると、山が海の上に浮いて見えていました)。Coast を Bake し直すと効きます。空のマテリアルの
Land setbackで山を海岸線から内陸へ下げ、Land heightで高さを変えられます(0 で山なし) - Clearwater Sky の
darkness:夜の深さ(昼と夕暮れの前半は 0、真夜中は 1)。ワールドの U# から読んで、夜に明るくする照明などに使えます - Clearwater Controller の
Sound Volume:波音 3 つ(波打ち際・遠くの海・水中)にまとめて掛ける倍率(0〜1、初期値 1)。ワールドの U# から変えて、動画の再生中に波音を下げたり、スイッチで消したりできます
変更
- 打ち上げの洗う浜(水深 0.3 m より浅い所)と陸の起伏を 3 分の 1 にしました。緩い浜では、打ち上げの先端が起伏の盛り上がりの手前で引き返して乾いた島が残り、くぼみに水たまりができていました。Coast を Bake し直すと、当たり判定も合います
Added
- The sky's light in buildings: put additive Light Volumes (VRC Light Volumes) baked with the sky alone into
Sky Light Volumesof Clearwater Sky, and their color and strength follow the sky of the time. The sky's light
through the windows is white by day, orange in the evening and moonlight at night. With the lightmaps baked from
the light that does not change with the time (lamps and the like), rooms no longer stay as bright as by day
whatever the hour. A multiplier per Light Volume (Sky Light Gains, for the eye getting used to the dark
indoors), the part of the light that comes from the horizon (Sky Light Horizon) and the sunlight given back by
the ground (Sun Bounce) can be set too. Reflection probes baked with the sky alone follow it as well
(Sky Reflection Probes), and Light Volumes baked with the lamps alone can be brought up at night
(Lamp Light Volumes, for the eye getting used to the lamps indoors) (see "The sky's light in buildings" in the README). - The boxes of the
Sky Light Volumesare the buildings to the beach and the water: inside one, no additive Light
Volume is added to them (the sky's light was doubled there, a bright box on the sand), and a Point Light Volume
inside one does not light them (a room's lamps came through the walls onto the sand outside). - Support for VRC Light Volumes 3.0 (checked with 3.0.0-dev.20). A project
with 3.0 compiles, and Build Demo Scenes makes Demo_LightVolumes the 3.0 way (each light's settings on its Point
Light Volume Instance, registered with the Light Volume Manager). The beach, the bottom and the foam take Light
Volumes' light with 3.0 as with 2.x. Projects with 2.x, and without Light Volumes, work as before. - The distant land follows the coast. With a coast, it stands only where the ground goes on 2 km out, and where the
shoreline turns away from the walkable beach it comes down to the sea with it (with a shore running off at an
angle, the headland stood over the open sea). Bake the Coast again for it.Land setbackon the sky material moves
the mountains inland from the shoreline, andLand heightscales them (0: none). - Clearwater Sky's
darkness: how deep into the night it is (0 by day and well into the dusk, 1 at full night). A world's U# can read it, say to bring its lights up at night Sound Volumeon Clearwater Controller: one multiplier (0 to 1, default 1) for the three sea sounds (the surf, the
distant sea, under water). The world's U# can set it, to turn the sea down while a video plays or off with a switch.
Changed
- The relief on the beach face the swash washes (shallower than 0.3 m) and on the land is a third of what it was. On a gentle beach the run-up's edge turned back short of the mounds, leaving dry islands, and filled the hollows with pools. Bake the Coast again for the collider to match
v1.1.0
追加
- VRC Light Volumes(RED_SIM)に対応しました。Light Volumes を置いたワールドでは、Additive の Light Volume と Point Light Volume の光が、アバターと同じように浜・水の中の底・泡にも当たり、水面にはその照り返しが映ります。夜の浜に置いたランプや焚き火が、砂と浅瀬を照らします。Additive でない Light Volume は、焼いたときの時刻の明るさが入っているので読みません(README の「VRC Light Volumes」)
- Light Volumes のパッケージは必須ではありません。シェーダーが読む部分(
LightVolumes.cginc2.1.3、MIT)を同梱しています。Light Volume のないワールドでは、見た目も負荷も 1.0.0 と変わりません - VRC Light Volumes がプロジェクトに入っていれば、Build Demo Scenes が 7 つ目のデモ「Demo_LightVolumes」も作ります。夜の浜を、砂の上・浅瀬の上・水の中に置いた Point Light Volume と、水際を回りながら色と明るさを変えるランプで照らしたものです(
Open Light Volumes (VRC Light Volumes))
Added
- Support for VRC Light Volumes (RED_SIM). In a world that has them,
the light of additive Light Volumes and Point Light Volumes falls on the beach, the bottom under the water and the
foam, as it does on the avatars there, and the water surface shows its glint: a lamp or a fire on the beach at
night lights the sand and the shallows. Light Volumes that are not additive are not read, as they hold the light of
the hour they were baked at (see "VRC Light Volumes" in the README). - The Light Volumes package is optional: its shader include (
LightVolumes.cginc2.1.3, MIT) comes with the
package. In a world without Light Volumes, the look and the cost are the same as in 1.0.0. - With VRC Light Volumes in the project, Build Demo Scenes also makes a seventh demo, Demo_LightVolumes: the beach at
night lit by Point Light Volumes on the sand, over the shallows and in the water, and by a lamp that goes round
across the waterline changing its colour and brightness (Open Light Volumes (VRC Light Volumes)).
v1.0.0
Full Changelog: https://github.com/bmbb93/clearwater-vrc/commits/v1.0.0