Author Topic: Light Leaks  (Read 1280 times)

2021-05-06, 23:43:38

dj_buckley

  • Active Users
  • **
  • Posts: 871
    • View Profile
I'm currently experiencing the light leaks issue on intersecting objects and thin geometry.  I've searched the forums and the general response seems to be 'add a shell modifier'.  The most recent post I found was 2017, so I just wondered if there has been a fix for it since then, you know for those times when a shell modifier isn't practical (in my case) and to avoid spending time modelling uneccessary geometry?

I'm working on an apartment interior, the walls, ceilings and door/window openings are one piece of geometry, all created from an extruded spline with flipped normals, so the shell modifier screws that up.  I'd rather not have to model the exterior walls each time when they'll never be seen, for a couple of reasons really.  Mainly because using Corona has taught me I need to be ultra efficient with scenes so adding geometry that won't be seen seems counterproductive.  It'd be nice if it just didn't happen because I can't see any reason why it shouldn't just work in theory, but I'm far from technical.  I don't know if it's technically possible for it not to happen i.e. it can't be fixed

2021-05-07, 09:30:37
Reply #1

wilbertvandenbroek

  • Active Users
  • **
  • Posts: 430
    • View Profile
I'm not the most advanced interior rendering guru, but the mesh you are showing seems quite ok, adding a shell with an outward expansion wouldn't add that much of geometry right? It doesn't have to be an accurate thickness I think, 1 cm could be enough.

2021-05-07, 12:46:42
Reply #2

GeorgeK

  • Corona Team
  • Active Users
  • ****
  • Posts: 838
  • George
    • View Profile
Personally, I would detach the floor and ceiling and add shell there, you can also apply separate shell to the walls with not a large outer or inner amount to avoid distortion/intersections. With regards to the leaking, there are many cases even with thin-walled geometry that you won't see any.

Please feel free to share your scene with me to investigate this further and offer possible alternatives.
George Karampelas | chaos-corona.com
Chaos Corona QA Specialist | contact us

2021-05-08, 15:25:48
Reply #3

dj_buckley

  • Active Users
  • **
  • Posts: 871
    • View Profile
Both valid points, the shell doesn't work for a number of reasons, it's not so much the extra geometry.  As a modified it's fine but in this situation and how I tend to model, it's not practical.

If I detach the ceiling, how would I get that nice chamfer where the walls and ceiling meet :)

As I say it might just be something that happens and the only solution is to model the outer walls.  I just wondered if it was something that can be avoided on a technical level.

Thanks for the replies.