ue/book/plan/03_ocean.md

22 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2025-02-05 20:06:39 +09:00
# ocean waves
[ocean waves](https://www.unrealengine.com/marketplace/ja/product/ocean-waves)
2025-02-09 07:24:32 +09:00
必要なものを`/Content/OceanWaves/Levels/EarthSizedOceanPlanet`からcopyして持ってきましょう。
- `BP_EarthSizedSphericalMesh`
- `BP_EarthSizedOcean`
- `WaterVolume`
`BP_EarthSizedSphericalMesh``transform-location-z:-63600000`にします。`Sphere Radius:63600000`にします。`SphereEdge Length:16000000`になるはずです。
次に海上の影問題を修正するため`Material Overrides`, `Material Outer/Inner`をすべて変更します。私は`/Vefects/Water/VFX/WaterMaterials`を使用しました。
次に`BP_EarthSizedOcean``Volume Maaterials``WaterVolume`をセットします。`Above/Underwater``/Vefects/Water/VFX/UnderWater`に変更します。`height:0`にします。これは海に入って出たときに海中を適用する高さを設定します。
2025-02-17 06:52:45 +09:00
## city sampleで使うと空間にロードされていないアクタを参照
> WaterVolume: 空間にロードされていないアクタを参照しています。
これは`BP_EarthSizedOcean`, `BP_EarthSizedSphericalMesh`の詳細から`is spatially loaded`のチェックを外します。