Closed depressed-pho closed 5 years ago
Or perhaps just 0.5
if fogColor.a > 0
, and 1.0
otherwise?
Or we could possibly use the time-dependent daylight level to detect rain.
After rethinking this issue I came to a conclusion that we should close it now. See also #40.
We are currently disabling shadows when a fog exists, because the seafloor will get unacceptably dark otherwise (because of water shadows). The depth of shadows does need to decrease, as there are many particles to scatter light, but it shouldn't drop to zero. I really want to improve this situation.
Ideally, water should not make such a dense shadows but I don't think we can tweak the light map itself. We will still have to resort to a hack, such as using
1 - fogColor.a
instead offogColor.a
as the base depth of shadow.