Author Topic: corona lights with directionality going black when seen through refractive glass  (Read 6814 times)

2019-08-02, 13:38:31

Rhodesy

  • Active Users
  • **
  • Posts: 553
    • View Profile
As shown in the screen grab image, the standard corona light turns black when seen through glass with refraction activated (not thin). The light has a directionality of 0.55. If it gets reduced to 0.4 the light can be seen fine. Anything with directionality over 0.5 renders black. Numbers lower than 0.5 do also dim in appearance so it would be good for directionality to have no bearing on the appearance of the visible light source.

Thanks
Rob

2019-08-02, 14:42:11
Reply #1

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 5460
    • View Profile
The "prevent black appearance" doesn't work in refraction at the moment, unfortunately, a known issue. The directionality means that no light from the light source actually reaches the camera, so this is physically realistic (just like if being viewed directly), but often not what people expect, which is why the "Prevent black appearance" was introduced - but as noted, it doesn't work in reflectiion or refraction.

The solution for now would be to create two objects - the light source that emits light, but is made invisible to the camera; and a light source that will be visible to the camera but doesn't emit light (e.g. geometry with CoronaLightMtl with Emit Light unchecked).
Tom Grimes | chaos-corona.com
Product Manager | contact us

2019-08-02, 15:15:28
Reply #2

Rhodesy

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

2019-08-05, 11:40:05
Reply #3

FrostKiwi

  • Active Users
  • **
  • Posts: 686
    • View Profile
    • YouTube
Alternatively use the Rayswitch Material and skip having two objects. (Corona light rectangle is the same as a plane with light material, when the plane has only one face)
For GI have the Light material with directionality and for everything else have a copy of the light material without directionality
I'm 🐥 not 🥝, pls don't eat me ( ;  ;   )