Author Topic: How to keep the sun visibility through CoronaLightMtl  (Read 531 times)

2021-10-08, 08:57:50

dsolod

  • Active Users
  • **
  • Posts: 18
    • View Profile
Hello,
Please advise!
Dmitry

2021-10-08, 09:01:05
Reply #1

aaouviz

  • Active Users
  • **
  • Posts: 496
    • View Profile
    • Another Angle 3D

2021-10-08, 12:32:01
Reply #2

dsolod

  • Active Users
  • **
  • Posts: 18
    • View Profile
Unfortunately, that does not help

The only solution so far is making the object a bit transparent through Opacity map

2021-10-08, 13:11:32
Reply #3

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 4035
    • View Profile
Can you share more info? Do you just mean the sunlight should affect objects on the other side of the object with the Light Material, or do you mean you want the sun disk visible through the Light Material object (if you were looking at it). A look at the image along with a description of what you want to achieve would help here.

2021-10-08, 14:31:43
Reply #4

aaouviz

  • Active Users
  • **
  • Posts: 496
    • View Profile
    • Another Angle 3D
seems like you're trying to do non-physical things here... and thus have contradicting ideas.

If you have a light source that is visible, of course you can't see things behind it... that's just not how things work.

2021-10-10, 07:53:21
Reply #5

dsolod

  • Active Users
  • **
  • Posts: 18
    • View Profile
Sometimes to minimise the post work I put the proper sky background in the scene as a CoronaLightMtl
I see now that the CoronaSun position does not reflect the physical position of the sun but rather serves to define the light direction (yes, that's the reality)
So, to get the sun visibility together with the Bloom and Glare effect I have to make the background transparent a little bit or to put the Corona Sphere light in front of the background
Just wondering if there are more options )

2021-10-10, 14:28:43
Reply #6

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 4035
    • View Profile
If the Corona Light Mtl emits light, that would be very bad for performance. Couldn't you just use a Direct Visibility override to put the background into the image?

2021-10-11, 07:50:57
Reply #7

dsolod

  • Active Users
  • **
  • Posts: 18
    • View Profile
That will work as well. Thanks!