Author Topic: GodRays from sunlight that lits the scene from behind.  (Read 2927 times)

2015-09-08, 13:45:31

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile
Hi,

Have anyone succesfully manage to achieve good loking godrays(volumetric fog) for example inbetween trees, when the sun lits the scene and is not visible in camera? Like when it lits the scene from behing the camera? I'm not a specialist on this case, probably it is not physically correct, but it would look nice :)

2015-09-08, 13:52:23
Reply #1

-Ben-Battler-

  • Active Users
  • **
  • Posts: 170
    • View Profile

2015-09-08, 13:58:11
Reply #2

mtanasiewicz

  • Active Users
  • **
  • Posts: 112
    • View Profile

2015-09-08, 15:10:23
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
It looks like this is possible but requires a lot of experimenting, is not very apparent, and requires setup opposite to what works when sun is facing the camera. :)
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-09-08, 15:23:26
Reply #4

-Ben-Battler-

  • Active Users
  • **
  • Posts: 170
    • View Profile
If you just decrease the fog distance it should work better, shouldn't it? As long as the cam is still facing the sun and the object which occludes the sun is not too big it should work without problem.
Visit boxel

2015-09-08, 15:41:26
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13675
  • Marcin
    • View Profile
Camera is not facing the sun. It is lit from behind, as described in the first post.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2015-09-08, 15:47:31
Reply #6

-Ben-Battler-

  • Active Users
  • **
  • Posts: 170
    • View Profile
Sorry, one should read properly..
Visit boxel