# Fog glitch while rendering with ultra dynamic sky

**URL:** <https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [August 23, 2023, 4:37pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051 "2023-08-23T16:37:38Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 4:37pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/1 "2023-08-23T16:37:38Z")

</div>

Hi,

I am trying to create a little animation but the fog is a bit glitched in the final render. I’m using the ultra dynamic sky asset for sky and lighting and the fog looks completely normal in the editor. I’m using the default camera settings in the sequencer (16:9 digital film and universal zoom).

 ![NordicLandscapeScreenshot](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/b/a/bba3a773eb61f02804dc425443d24654397a36cd.jpeg)

In editor

 ![vlcsnap-2023-08-23-18h27m22s359](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/d/3dd85f4e94b68f8121718b30f943890fe03f4b20.jpeg)  
rendered video screenshot

Does anyone know how can I fix this ?

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [August 23, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/2 "2023-08-23T16:57:43Z")

</div>

Keep all your meshes above 0 in Z.

This is caused by the SkyAtmosphere system, the atmosphere ends at 0 in Z by default. There are other ways you can move it, see the “moving the atmosphere” section of the documentation: [Sky Atmosphere Component in Unreal Engine | Unreal Engine 5.2 Documentation](https://docs.unrealengine.com/5.2/en-US/sky-atmosphere-component-in-unreal-engine/)

I don’t know how the UDS actor is set up, maybe it exposes controls for this. If not this seems like something you should contact the author about… Otherwise… just keep everything above 0 in Z

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 5:41pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/3 "2023-08-23T17:41:10Z")

</div>

I tried to move the sky atmosphere below the other meshes but that didn’t fixed the problem.  
I also tried to move and scale the exponential fog but it also didn’t worked.  
Is there a way to move every meshes at the same time ?

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [August 23, 2023, 6:06pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/4 "2023-08-23T18:06:49Z")

</div>

> [@Luigini](#):
>
> I tried to move the sky atmosphere below the other meshes but that didn’t fixed the problem.

You need to actually select component transform from the list, otherwise moving it does nothing

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 6:19pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/5 "2023-08-23T18:19:00Z")

</div>

I selected the ultra dynamic sky component, then I selected Sky atmosphere and I changed the location to Z:-25000

 ![Capture d'écran 2023-08-23 201529](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/b/8/eb86caf5da92667a90c1097ee6810573fa5279ca.png)

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [August 23, 2023, 6:22pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/6 "2023-08-23T18:22:21Z")

</div>

See the documentation, there is a setting in the component called “Transform Mode”. You need to change that to component transform

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 7:04pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/7 "2023-08-23T19:04:31Z")

</div>

The transform mode is already set to “Planet Top at Component Transform” so it’s movable, and when I change the Z value the clouds are moving down.  
I also tried “Planet Center at Component Transform” but it looked very weird.

Btw thank you for your help 🙏

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [August 23, 2023, 7:17pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/8 "2023-08-23T19:17:12Z")

</div>

[https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/0/14095b074a1865e0aec1013569197d4388e3c887.mp4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/0/14095b074a1865e0aec1013569197d4388e3c887.mp4)

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 7:28pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/9 "2023-08-23T19:28:26Z")

</div>

This is exactly what I did, and it looks right in the editor, but it seems to reset in rendering.

 ![Capture d'écran 2023-08-23 212700](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/e/a/cea554348af245b1126838d7f9a37a92cd06565d.jpeg)

---

<div class="post-metadata">

**Author:** ![Arkiras](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arkiras/32/1008648_2.png) [@Arkiras](https://forums.unrealengine.com/u/Arkiras)\
**Post date:** [August 23, 2023, 7:30pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/10 "2023-08-23T19:30:34Z")

</div>

Oh no… I’m sorry… I misunderstood, I didn’t realize the problem was with the _render_, I thought it was with the display in the viewport…

I do not know what could be causing the issue with the render ☹

---

<div class="post-metadata">

**Author:** ![RndrSamurai](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RndrSamurai](https://forums.unrealengine.com/u/RndrSamurai)\
**Post date:** [August 23, 2023, 7:36pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/11 "2023-08-23T19:36:44Z")

</div>

Did you try to add the UDS to be tracked by sequencer?

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 7:46pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/12 "2023-08-23T19:46:39Z")

</div>

Yeah I just tried it but it didn’t changed anything. Here is what I did :  
 ![Capture d'écran 2023-08-23 214623](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/c/d/6cd7b01aeeae8015fe873a1d030d9cda1809c1c0.png)

---

<div class="post-metadata">

**Author:** ![Luigini](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Luigini](https://forums.unrealengine.com/u/Luigini)\
**Post date:** [August 23, 2023, 11:09pm UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/13 "2023-08-23T23:09:34Z")

</div>

Don’t worry 😅  
Thank you for your help anyway !

---

<div class="post-metadata">

**Author:** ![TrentCab](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TrentCab](https://forums.unrealengine.com/u/TrentCab)\
**Post date:** [May 13, 2024, 9:57am UTC](https://forums.unrealengine.com/t/fog-glitch-while-rendering-with-ultra-dynamic-sky/1270051/14 "2024-05-13T09:57:52Z")

</div>

Hey, just wanted to chime in with my findings for anyone else who finds this thread on google.

The straight line occuring only during render queue is due to a pair of CVars that gets applied by the ‘Cinematic Quality’ scalability settings, which seem to clash with UDS. You can test this by flicking the viewport’s ‘Effects’ setting between Cinematic and Epic.

Specifically  
r.SkyAtmosphere.FastSkyLUT = 0  
r.SkyAtmosphere.AerialPerspectiveLUT.FastApplyOnOpaque = 0

Go into your console overrides in your pipeline configuration and set them both back to 1, and it’ll render the same as it does in viewport.
