# VolumetricCloud

**URL:** <https://forums.unrealengine.com/t/volumetriccloud/688516>\
**Category:** Rendering\
**Tags:** unreal-engine, Volumetric-Clouds, question\
**Created:** [November 11, 2022, 8:00am UTC](https://forums.unrealengine.com/t/volumetriccloud/688516 "2022-11-11T08:00:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![yangxu120560](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yangxu120560](https://forums.unrealengine.com/u/yangxu120560)\
**Post date:** [November 11, 2022, 8:00am UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/1 "2022-11-11T08:00:28Z")

</div>

when r.VolumetricRenderTarget.Mode set to 2 ,cannot intersect with opaque meshes,why?

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 15, 2022, 10:03am UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/2 "2022-11-15T10:03:36Z")

</div>

**Mode 2** trace 1 pixel out of 4x4 at full resolution, the other 15 samples are reprojected. All that happen at final resolution so nothing can be done after that. It looks sharper than **mode 0** but has lots of latency to it. So cloud would leak after reprojection over opaque meshes.

**Mode 0** has a more complex pipeline: trace a resolution/4, reconstruct at resolution/2 then upsample on screen at full resolution. It technically does trace 1 pixel every 4x4 pixels but the more complex pipeline allow to trace up to a certain depth and keep that information for the reconstruction process. Looks less sharp, more half res. Potentially faster because it traced only up to a certain depth. This mode has quality improvements coming in for 5.2 (sharper depth edge reconstruction, less holes, less trails during reprojection).

---

<div class="post-metadata">

**Author:** ![yangxu120560](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yangxu120560](https://forums.unrealengine.com/u/yangxu120560)\
**Post date:** [November 15, 2022, 12:02pm UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/3 "2022-11-15T12:02:03Z")

</div>

Thank You,I have a problem that the sun(behind cloud) in the skybox will appear incorrectly when some mesh edge overlapping with it ,so it will be fixed in 5.2?

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [November 15, 2022, 12:19pm UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/4 "2022-11-15T12:19:09Z")

</div>

That is one of the thing that is improved yes. Not sure it will be flawless with a bright sun though, I should try this at some point.

---

<div class="post-metadata">

**Author:** ![yangxu120560](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@yangxu120560](https://forums.unrealengine.com/u/yangxu120560)\
**Post date:** [November 15, 2022, 12:36pm UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/5 "2022-11-15T12:36:01Z")

</div>

![SunColud](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/1/a/d1a335a94b36f7a92e6bed26665c7fc06656d397.gif)  
this is my problem now,so hopefully it can be fixed in next version,thank you for replay

---

<div class="post-metadata">

**Author:** ![SebHillaire](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/sebhillaire/32/1194571_2.png) [@SebHillaire](https://forums.unrealengine.com/u/SebHillaire)\
**Post date:** [January 15, 2023, 11:08am UTC](https://forums.unrealengine.com/t/volumetriccloud/688516/6 "2023-01-15T11:08:55Z")

</div>

Yes this is improved in 5.2 (mesh occlusion above cloud and edges over occluding meshes).
