Reproduction Steps
-
Reference image:
-
Make sure
Lighting.GeographicLatitude
is set to 41.733, which is the default. Changing this will also change theTimeOfDay
this error occurs.
- Set
Lighting.TimeOfDay
to19:13:39
withLighting.Brightness
greater than 0. - Notice how the place is very dark and that brightness changes do not have an effect. You can set the brightness to a very large value like 1000. Only the sides of the baseplate will be lit up, but not the top.
- Set
Lighting.TimeOfDay
to19:13:40
. TheLighting.Brightness
was applied to the top of the baseplate, which is not intended. This also causes noticeable differences at lower brightness levels.
This issue lasts until the TimeOfDay
is back to 19:13:40
at the next cycle.
Expected Behavior
I expect the brightness to gradually increase, and decrease based on TimeOfDay
, and at a reasonable time. For a GeographicLatitude
of 41.733, this time would be around 6:07. Alternatively, I would also accept the light to be consistent, or for the brightness to go back up when the moon is out.
Actual Behavior
The brightness jumps from a very low value set by TimeOfDay
to the original value set in Lighting.Brightness
.
Before:
After:
This is very noticeable in time-of-day scripts.
Workaround:
You can make the effect less noticeable by turning EnvironmentDiffuseScale
and EnvironmentSpecularScale
to 0. This is not suitable in many lighting environments. Alternatively, you can set Brightness
to 0 and rely on EnvironmentDiffuseScale
to provide light from the skybox textures, but again, this might mess up the lighting.