# Skylight not working

**URL:** <https://forums.unrealengine.com/t/skylight-not-working/470927>\
**Category:** Rendering\
**Tags:** skylight, distance, unreal-engine, Rendering, question\
**Created:** [September 6, 2020, 10:58pm UTC](https://forums.unrealengine.com/t/skylight-not-working/470927 "2020-09-06T22:58:24Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [January 28, 2023, 11:56am UTC](https://forums.unrealengine.com/t/skylight-not-working/470927/16 "2023-01-28T11:56:18Z")

</div>

Turns out, in UE5, the skylight is much more fussy about the ‘sky distance threshold’ parameter.

If the skylight is having no effect, and all the shadows are black, a quick fix is to make ‘sky distance threshold’ zero.

A better solution, is to use a cubemap for lighting, set

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/f/dffd5d0a3cae672609cbfaae25dfed464ba68aca.png)

---

_[View the full topic](https://forums.unrealengine.com/t/skylight-not-working/470927)._
