Author Topic: File ies not visible in reflection  (Read 443 times)

2018-11-27, 23:11:48

bango74

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

For the first time I'm using ies files in Corona, but is it normal that they are not reflected?

2018-11-28, 00:27:09
Reply #1

spawnik

  • Active Users
  • **
  • Posts: 7
    • View Profile
Try with different IES file. Some of the IES files makes light disappear in reflections.

2018-11-28, 01:34:59
Reply #2

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 2562
    • View Profile
Probably the best solution here is to have two objects, one for casting light into the scene (that doesn't appear in direct visibility and reflections), and one for appearing in direct visibility and reflections. The thing about IES or other form of directionality is that it can mean that light from the light source doesn't go where you think it will - the "Prevent black appearance" will generally resolve that for direct visibility, but it may not resolve it in reflections (for now, at least).

2018-11-28, 09:24:25
Reply #3

bango74

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

I understood, thanks.
So maybe I should return to the old method that I have always used for the commercials, that is, light area resized to the spotlight, with directional light between 40-50.
If you have other advice to give me, I willingly accept, thank you.

2018-11-28, 10:08:22
Reply #4

beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 1271
  • Bengamin
    • View Profile
    • Cormats
Probably no need to set the directionality with ies files, it made no difference in this test with an area light. And spawnik is right, some ies files render invisible.


2018-11-28, 10:17:24
Reply #5

bango74

  • Active Users
  • **
  • Posts: 55
    • View Profile
Probably no need to set the directionality with ies files, it made no difference in this test with an area light. And spawnik is right, some ies files render invisible.




No, I'm sorry I expressed myself, I meant light area with varying directionality but obviously without file ies loaded, the file ies reproduces the photometric curve and from there you do not change the direction of cone, this I had already tested, thanks.

2018-11-28, 15:25:54
Reply #6

TomG

  • Corona Team
  • Active Users
  • ****
  • Posts: 2562
    • View Profile
Just to clarify, IES is a form of directionality, so has the same effects (anything outside the cone of the IES will show as black, as that means no light rays are being sent out in that direction; the prevent black appearance fixes that in direct visibility, for IES as well as directionality, since it's the same underlying cause; but neither IES nor directionality will be fixed in reflections / refractions with the prevent black appearance)