Sun shining through solid object

Started by Erwin0265, April 05, 2012, 09:02:35 PM

Previous topic - Next topic

Erwin0265

Hi,
Just another post to ask another noob question.
I am playing around with the sun position in my scene and can't seem to work out why the sun can shine through a solid object.
If I uncheck, "Glow in atmosphere", all is fine, but I want the glow in the sky; just not coming through solid rock.
Any suggestions?
Thanks
Erwin
OK, who farted?

rcallicotte

There's a setting to prevent this.  Can't remember it (sorry), but do a search for "sun shining through terrain" to see what you can find.
So this is Disney World.  Can we live here?

Oshyan

You need to enable "Receive shadows from surfaces" on the Quality tab of the Atmosphere node. Unfortunately this will increase render time, but it's the only way to properly fix it at this time.

- Oshyan

Erwin0265

Quotebut do a search for "sun shining through terrain" to see what you can find.
That's exactly what I did; but I didn't find anything that addressed this particular issue.
QuoteYou need to enable "Receive shadows from surfaces" on the Quality tab of the Atmosphere node.
Thanks, Oshyan.
QuoteUnfortunately this will increase render time, but it's the only way to properly fix it at this time.
Yep; render time went from 1 min, 48 seconds to 9 min, 1 second; and that's for a little 640 x 480 test render............
Looks a lot better though...............
Cheers
Erwin
Note:- Render 6.56 is the one with "Receives shadows from surfaces" checked" [render time = 9min, 1sec]
          Render 6.57 has "Glow in atmosphere" unchecked [Sunlight settings] [render time = 1min, 58sec]
I think it's worth the wait and use the "Receives shadows from surfaces" setting.
Although, you could probably achieve a similar effect by combining render 5.55 and 5.57 in PS or GIMP, etc.
Similar, but still not quite as good as render 5.56...................
OK, who farted?

rcallicotte

Looks nice, I agree. 

Good to be reminded what this is.  Thanks Oshyan.
So this is Disney World.  Can we live here?

FrankB

To be precise, the sun isn't shining through an object, but the atmosphere is glowing in front of the object, whereas the shadow from the object should prevent the atmosphere from glowing in that spot.

That's  what "receive shadows from surfaces" actially means: that the shadows that an object or terrain casts also affects the atmosphere in that object or terrain shadow.



Erwin0265

QuoteTo be precise, the sun isn't shining through an object, but the atmosphere is glowing in front of the object, whereas the shadow from the object should prevent the atmosphere from glowing in that spot.

OK, let me rephrase; The sun APPEARS to shine through the object....................
;)
OK, who farted?