Is a point-like light source with global reach possible?

Hi all,

I’d like to create a fantasy landscape in UE5. Part of that is the global illumination should not come from infinitely far away as with the sun or moon, but from a point somewhere on the terrain.

As long as the player is far from the light source I can mimic it with adjusting the angle of the sun and making the sun disc itself invisible, but it (obviously) breaks down as soon as the player comes closer.

I tried experimenting with point lights, but their max range seems to be limited and they don’t interact with the atmospheric scattering, etc.

It would be ideal if I could modify the sun light source so that it would not be directional / parallel but radiate like a local point light source would, and not attenuate too much over the distance of the terrain (currently a few square kilometers).

Does anyone know if that can be done?

If that’s not possible it could be an alternative to combine:

  • a local light source (a point or a sphere) with little attenuation over the distances of the terrain (this post seems to suggest that custom attenuation is possible) - with -
  • dynamically adjusting the angle of the sunlight based on the player’s position relative to the local light source

Any suggestion how to realise that would be much appreciated!
Thanks :smiley:
Lúthien