# Volumetric clouds lighting from space view

**URL:** <https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045>\
**Category:** Rendering\
**Tags:** Atmosphere, unreal-engine, UE5-0, Lighting, Volumetric-Clouds, question\
**Created:** [August 7, 2022, 6:05am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045 "2022-08-07T06:05:41Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sajedn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sajedn](https://forums.unrealengine.com/u/sajedn)\
**Post date:** [August 7, 2022, 6:05am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/1 "2022-08-07T06:05:41Z")

</div>

Hi,

I’ve been working on a stylized planet generator, but now that I’m trying to add some volumetric clouds, they don’t seem to interact with light correctly! They are being lit up as if they are all positioned on the north pole!

 ![HighresScreenshot00000](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/6/ce64a0cfdbb7e0a58021fdd62b9b8677908226cb.jpeg)

Judging by this example from the documentation, it should be possible to achieve this:

 ![DirectionalLight_OpaqueShadowsOnClouds](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/f/ffff49e77d8c01cf5bb69ef34c53344a73c24f96.jpeg)

Is there something that I’m missing?

---

<div class="post-metadata">

**Author:** ![Kedriik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kedriik](https://forums.unrealengine.com/u/Kedriik)\
**Post date:** [October 30, 2022, 7:44pm UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/2 "2022-10-30T19:44:54Z")

</div>

Your clouds looks good to be honest. Could you share what you changed to volumetric clouds look good on planetary scale ?

---

<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:** [October 31, 2022, 12:12pm UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/3 "2022-10-31T12:12:19Z")

</div>

@sajedn You will need to use the more expensive **Use per Sample Atmospheric Light Transmittance** on the cloud material. Be aware that we still ahve the ambient lighting that is not spatialized, currently simply taken from the skylight position.

---

<div class="post-metadata">

**Author:** ![sajedn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sajedn](https://forums.unrealengine.com/u/sajedn)\
**Post date:** [November 1, 2022, 5:50am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/4 "2022-11-01T05:50:27Z")

</div>

Exactly, It doesn’t look good (especially because it doesn’t respect the ground shadow cast on clouds from far away), and as you mentioned, it’s expensive.

Is there any way to prevent directional light from affecting clouds altogether? Then using the light direction it might be possible to light them manually.

---

<div class="post-metadata">

**Author:** ![sajedn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sajedn](https://forums.unrealengine.com/u/sajedn)\
**Post date:** [November 1, 2022, 6:01am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/5 "2022-11-01T06:01:19Z")

</div>

Happy to hear it, just follow this tutorial:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/8/0/3808ca640a4365307e7c66a5fed1b32d74c28faa.jpeg "UE4: Step-by-Step to Creating Your First Volumetric Cloud Material") ](https://www.youtube.com/watch?v=aYxvN5cs-EU)

Then apply these changes:

- Replace all 2D textures with volumetric textures.
- Set Tracing Start Distance on VolumeticCloud Actor to something high (For my use case 2000 was enough since my planet’s radius was 1850km)
- Play with Cloud material settings especially scale to achieve what you like. You might need to use multiple Volumetric textures with different scales to achieve a material that looks good far away and in closer shots.

---

<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 1, 2022, 8:08am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/6 "2022-11-01T08:08:23Z")

</div>

> [@SebHillaire](#):
>
> Use per Sample Atmospheric Light Transmittance

**Use per Sample Atmospheric Light Transmittance** should look great. Otherwise you have to tweak your atmospehre and cloud layer altitude, parameters.

sky light contribution: you can fully occlude this using ambiant occlusion input on root node. Then you can do any custom lighting yourself through emissive.

---

<div class="post-metadata">

**Author:** ![sajedn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@sajedn](https://forums.unrealengine.com/u/sajedn)\
**Post date:** [November 1, 2022, 9:56am UTC](https://forums.unrealengine.com/t/volumetric-clouds-lighting-from-space-view/623045/7 "2022-11-01T09:56:31Z")

</div>

Thanks, Fully occluding clouds and setting cloud scattered luminance scale to black completely removed lighting from clouds.
