CesiumGS / cesium-unreal

Bringing the 3D geospatial ecosystem to Unreal Engine
https://cesium.com/platform/cesium-for-unreal/
Apache License 2.0
902 stars 287 forks source link

`CesiumSunSky` lights volumetric clouds at night #1341

Open j9liu opened 7 months ago

j9liu commented 7 months ago

Reported on the forum. To reproduce:

  1. Open first level in Cesium samples
  2. Add Volumetric Cloud actor to the scene
  3. Change the Solar Time on CesiumSunSky to sometime in the early morning / night.

image

I did the same with Unreal's built-in SunSky and confirmed that the clouds do not show up during night.

Things I have already tried that have no effect on this:

KieranCoppins commented 5 months ago

I am also experiencing this, however I find at night it lights my models from underneath.

I'm unsure on the implementation of the Cesium SunSky, could the world tile not be casting an "upwards" shadow? Does making it night time make the directional light point upwards?

This occurred for me after upgrading unreal engine to 5.3 from 5.1. And updating to the latest version of Cesium for Unreal, using v2.3.0 binaries.

magiclamb commented 4 months ago

Hi there a fix to this would be fantastic, thanks! :)