Terrain has recently stopped casting proper shadows

Recently, the lighting in my game in caves has become almost entirely un-shaded. Here is a screenshot of what the inside of a cave looks like currently in Roblox Studio:

As you can see, aside from the standard shadow line, it is very bright inside of the cave.
However, despite the fact that I have not changed the lighting of my game at all, the inside of caves used to be darker, as shown in a screenshot from a video below:

(Forgive the low quality, that was the highest resolution I could get.)
Although that video is 10 months old at this point, I have not changed my lighting. Opening a version of the game from that time period still yields the brighter lighting in caves. I have found something out though; the darker, more thorough shadows that used to be cast by terrain are still cast by parts. As you can see, by simply adding a part above the cave, it is properly dark again, despite the fact that there should be no differences.

This has seriously damaged the way players interact with caves in my game and I imagine has been a much larger problem for games with significant horror elements. I am not using the Unified Lighting beta, and this occurs both on the actual game and in studio.

System Information: Intel(R) Core™ i5-3470 CPU @ 3.20GHz, 32.0 GB DDR3, NVIDIA GeForce GTX 1650.

5 Likes

fellow dev for this game^ i have much higher specs and also have the issue
System Specs: AMD Ryzen 9 3900x 12-core CPU @ 3.80GHz, 80 GB DDR4, NVIDEA GeForce RTX 3080.

What do your lighting settings look like? Specifically, what are the values of the ambient properties? You may have changed it without knowing, it happens to me all the time.

The Ambient is set to 80, 80, 80, and the Outdoor Ambient is set to 255, 233, 201. Those are the only two values I have found to be significantly relevant to underground lighting in this case. As I said previously however, opening old versions of the game still has the same issues and placing parts above my terrain, which should do nothing, causes the shadows to render the correct level of brightness in the caves.

This is almost certainly an engine bug relating to the way terrain casts shadows. Hope that clears things up.

1 Like

This is an internal issue. There’s another topic about it here: Ambient Lighting Stopped Working?

1 Like