Skip to content

Sunlight scattering is visible in inappropriate situations

When water refraction is enabled, sunlight scattering is visible around the sun's reflection. However, sunlight scattering is visible at all times, even when the sun is obscured by clouds or below the horizon:

out2

Sunlight scattering is also visible in interior cells with water: screenshot214

The color and intensity values of the scattering were tweaked to make it easily visible. (specifically SCATTER_AMOUNT and SCATTER_COLOUR in resources/shaders/compatibility/water.frag) Development build b0a129d6 is being used here, but it looks the same in 0.48 and 0.47.

Perhaps some of this light should be visible during cloudy weather, but unless I'm misunderstanding something, there shouldn't be any at night or while indoors.

Edited by Qlonever