Quote from: Kadri on September 06, 2012, 10:34:15 AM
Yes you have a point too Martin , but if you think about the sentence " receive shadow from surfaces"
it is hard to think about the Sun shining through the ground!
I would look first at the Render node or the Sun node but atmosphere wouldn't my first bet about this.
Wish there were two settings one for really only " receive shadow from surfaces" for the atmosphere
and one "Sun behind objects" kind of setting .
Of course this might have not any meaning from the render engine side, i don't know!
I disagree.
The sun is a light source and the medium where the light propagates through is the atmosphere.
Shadows are cast into the atmosphere or in other words there's less light behind areas which obstruct direct light.
That's all happening in the atmosphere and the sun has nothing to do with that other than emitting light.
If I think about "receive shadow from surfaces" in the atmosphere node then I realize that it is not being calculated if it's disabled.
So what do I expect when the sun is behind terrain and the atmosphere is told to not calculate the shadows from surfaces?
I would expect that the terrain wouldn't not cast a shadow and that the light from the sun still should be visible. If it wasn't then it was casting a shadow
By default the atmosphere does not receive shadows from surfaces. Why? Because in the vast majority of situations the sun is not behind/below the terrain and thus that is default.
What you describe is the symptom, not what's causing it. Therefore there shouldn't be a "Sun behind objects" option, or better said, there can't be a "Sun behind objects" option (at the moment), because the calculations required is the one provided by the "receive shadow from surfaces" option.