tag:crieit.net,2005:https://crieit.net/tags/Volumetric/feed 「Volumetric」の記事 - Crieit Crieitでタグ「Volumetric」に投稿された最近の記事 2020-08-03T21:13:15+09:00 https://crieit.net/tags/Volumetric/feed tag:crieit.net,2005:PublicArticle/16023 2020-08-03T21:13:15+09:00 2020-08-03T21:13:15+09:00 https://crieit.net/posts/UE4-VolumetricCloud UE4のVolumetricCloudの始め方 <h2 id="はじめに"><a href="#%E3%81%AF%E3%81%98%E3%82%81%E3%81%AB">はじめに</a></h2> <p>・UE4.25から追加されたVolumetric Cloudの始め方を書いてみる。<br /> ・この記事では「<strong>Volumetric Cloud</strong>」とは何かといった詳しい説明はないです。本当に始め方のみ。<br /> ・UE4.25.3で動作確認してます。</p> <p><a href="https://crieit.now.sh/upload_images/fb854303e8b9733f256ec816bad9a5c15f27f8574d5fa.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/fb854303e8b9733f256ec816bad9a5c15f27f8574d5fa.png?mw=700" alt="2.png" /></a></p> <h2 id="Volumetric Pluginを有効化"><a href="#Volumetric+Plugin%E3%82%92%E6%9C%89%E5%8A%B9%E5%8C%96">Volumetric Pluginを有効化</a></h2> <p>UE4.25.3現在、Volumetric Cloudを使うためにはVolumetric Pluginを有効化する必要がある。設定→プラグイン設定の中に「<strong>Volumetric</strong>」というプラグインがあるので、探して有効化する。検索欄に「<strong>Volumetric</strong>」と入力すると早いかも。</p> <p><a href="https://crieit.now.sh/upload_images/ed664b24a8869e781ed026b8e6932a055f27f7dbb6d3d.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/ed664b24a8869e781ed026b8e6932a055f27f7dbb6d3d.png?mw=700" alt="無題.png" /></a></p> <p>有効化すると再起動を要求される。今すぐ再起動を押して再起動を行う。</p> <h2 id="各種設定"><a href="#%E5%90%84%E7%A8%AE%E8%A8%AD%E5%AE%9A">各種設定</a></h2> <p>画面下部にある表示設定のうち、「<strong>エンジンのコンテンツ</strong>」と「<strong>プラグインのコンテンツ</strong>」にチェックを入れる。</p> <p><a href="https://crieit.now.sh/upload_images/ba955b12533bfde830ee47eeeaad13175f27f97119053.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/ba955b12533bfde830ee47eeeaad13175f27f97119053.png?mw=700" alt="無題1.png" /></a></p> <p><strong>BP_Volumetric_Cloud_Layer</strong>を探して、ビューポート上にドラッグアンドドロップする。</p> <p><a href="https://crieit.now.sh/upload_images/138aeb65009797688aec7562503723825f27f9a97b915.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/138aeb65009797688aec7562503723825f27f9a97b915.png?mw=700" alt="無題2.png" /></a></p> <p>アウトライナ上から先程ドラッグアンドドロップした<strong>BP_Volumetric_Cloud_Layer</strong>を探して選択。</p> <p>詳細にある「<strong>Show Sky Dome</strong>」にチェックを入れる。</p> <p><a href="https://crieit.now.sh/upload_images/2900063f72de1be6e1d10b9c4b78043a5f27fc9f2a849.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/2900063f72de1be6e1d10b9c4b78043a5f27fc9f2a849.png?mw=700" alt="無題3.png" /></a></p> <p>他のSkySphere系のブループリントアクタがある場合、被って表示されないことがあるので削除or非表示にする。</p> <p>ここまでの設定を終えると、ようやくVolumetric Cloudが画面上に表示される。但しこのままだと非常に重いので、以下のように設定することを推奨。</p> <hr /> <p>Basic Option以下にある設定項目を次の用に変更する。</p> <p>・<strong>Cloud Scale km</strong>を<strong>190</strong>に設定。<br /> ・<strong>Cloud Bias</strong>を<strong>0.1</strong>に設定。<br /> ・<strong>Cloud Density</strong>を<strong>1.3</strong>に設定。<br /> ・<strong>Cloud Altitude Km</strong>を<strong>8.0</strong>に設定。<br /> ・<strong>Cloud Layer Thickness</strong> Km** 9.0**に設定。</p> <p><a href="https://crieit.now.sh/upload_images/fe7bda269309e870e4edfef327c3cf2b5f27fdce8cc15.png" target="_blank" rel="nofollow noopener"><img src="https://crieit.now.sh/upload_images/fe7bda269309e870e4edfef327c3cf2b5f27fdce8cc15.png?mw=700" alt="無題5.png" /></a></p> <p>上記設定をすることで、ある程度フレームレートが改善されるはず・・・。</p> <h2 id="追記"><a href="#%E8%BF%BD%E8%A8%98">追記</a></h2> <p>近いうち、各値がどのような効果があるかを解説した記事を書くかも。</p> くろれきし@UE4でVRゲ作中