# Sky Atmosphere - Distant volumetric light shafts seem to break when "r.SkyAtmosphere.AerialPerspectiveLUT.Width" is increased

**URL:** <https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179>\
**Category:** Rendering\
**Tags:** Atmosphere, unreal-engine, UE5-0, Rendering, Volumetric-Clouds, question\
**Created:** [September 14, 2022, 1:03am UTC](https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179 "2022-09-14T01:03:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![N.Luk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N.Luk](https://forums.unrealengine.com/u/N.Luk)\
**Post date:** [September 14, 2022, 1:03am UTC](https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179/1 "2022-09-14T01:03:45Z")

</div>

In 4.26 I was able to get high quality volumetric light shafts coming through the distant clouds with the current set up that I have. Now since upgrading to 5.0.3 that functionality seems broken.

I was using the command - r.SkyAtmosphere.AerialPerspectiveLUT.Width - to increase the quality. The default for that is 32 and renders quite blocky but is still somewhat visible. Any number above or below that now becomes quite broken. In 4.26 I had it up to 64 where I was starting to see reasonable results. Now in 5.0.3. it seems to just break.

`r.SkyAtmosphere.FastSkyLUT` and `r.SkyAtmosphere.AerialPerspectiveLUT.FastApplyOnOpaque`  
are disabled to get higher quality as well.

What am I missing?

This is rendering with r.SkyAtmosphere.AerialPerspectiveLUT.Width 32

 ![r.SkyAtmosphere.AerialPerspectiveLUT.Width 32](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/2/e/e2e4f822b79fba42e939375c5314e31bb08122b6.jpeg)

This is with r.SkyAtmosphere.AerialPerspectiveLUT.Width 64

 ![r.SkyAtmosphere.AerialPerspectiveLUT.Width 64](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/e/47e1f45992391ecf5493bf722d4023af493086e7.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:** [September 14, 2022, 1:06pm UTC](https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179/2 "2022-09-14T13:06:52Z")

</div>

Seems like a bug, [you should consider reporting it](https://www.unrealengine.com/en-US/support/report-a-bug)

---

<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:** [September 14, 2022, 6:45pm UTC](https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179/3 "2022-09-14T18:45:15Z")

</div>

Hello,

I just found that topic and have been able to reproduce. I have now just fixed that bug in 5.1. Sorry for the trouble.

In the meantime, I believe you can put the _r.SkyAtmosphere.AerialPerspectiveLUT.Width=64_ cvar in your cfg file and it should correctly be picked up at launch. Alternatively, you can also use _r.VolumetricCloud.HighQualityAerialPerspective=1_ (that is the highest quality on cloud that should match the highquality sky you have when not using the fast path).

Thanks for reporting!

---

<div class="post-metadata">

**Author:** ![N.Luk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@N.Luk](https://forums.unrealengine.com/u/N.Luk)\
**Post date:** [September 14, 2022, 9:03pm UTC](https://forums.unrealengine.com/t/sky-atmosphere-distant-volumetric-light-shafts-seem-to-break-when-r-skyatmosphere-aerialperspectivelut-width-is-increased/648179/4 "2022-09-14T21:03:02Z")

</div>

Thank you so much for your help Seb. I will give this a shot!
