Page 1 of 1

lights behind glass

Posted: Mon Jan 20, 2020 7:35 am
by lacilaci
we can now hide lights behind arch glass, but those lights will show up behind any normal glass...
Due to this, I can have a softbox behind a "simple" window glass but any glass object or a proper glass pane system will show it... Big problem.

Re: lights behind glass

Posted: Mon Jan 20, 2020 7:37 am
by lacilaci
also related to light visibility, we can make shader/material to have disabled shadow but lights still do occlude other lights.
This means if I put a lightsource near wall, it will cast shadow on that wall.

Re: lights behind glass

Posted: Mon Jan 20, 2020 1:57 pm
by kintuX
set Opacity to 0

Re: lights behind glass

Posted: Mon Jan 20, 2020 2:30 pm
by lacilaci
kintuX wrote: Mon Jan 20, 2020 1:57 pmset Opacity to 0
where? I'm now talking about area lights in blender. There's no opacity control.

Re: lights behind glass

Posted: Mon Jan 20, 2020 4:43 pm
by kintuX
Ah, no "real" mesh lights...
Guess you'll have to make a feature request then. ;)

Re: lights behind glass

Posted: Mon Jan 20, 2020 5:00 pm
by B.Y.O.B.
kintuX wrote: Mon Jan 20, 2020 1:57 pmset Opacity to 0
The problem about this is that you lose MIS.
This becomes apparent in glossy reflections/refractions like metal or rough glass.
In the attached scene there are two mesh lights: in the left half, with opacity = 1 and camera visibility disabled, in the right half with opacity = 0. The glass in front of the lights has shadow color white and the lower half is rough glass.
You can see the problems showing up in the form of undersampled glossy reflections (in the metal on top, and as fireflies from unresolved reflected caustics from the metal) and undersampled glossy refractions (the greenish rough glass).

Re: lights behind glass

Posted: Mon Jan 20, 2020 5:51 pm
by lacilaci
B.Y.O.B. wrote: Mon Jan 20, 2020 5:00 pm
kintuX wrote: Mon Jan 20, 2020 1:57 pmset Opacity to 0
The problem about this is that you lose MIS.
This becomes apparent in glossy reflections/refractions like metal or rough glass.
In the attached scene there are two mesh lights: in the left half, with opacity = 1 and camera visibility disabled, in the right half with opacity = 0. The glass in front of the lights has shadow color white and the lower half is rough glass.
You can see the problems showing up in the form of undersampled glossy reflections (in the metal on top, and as fireflies from unresolved reflected caustics from the metal) and undersampled glossy refractions (the greenish rough glass).
Hm, any idea how cycles solves this issue? Cause I haven't seen any performance issues there with such features.

Re: lights behind glass

Posted: Tue Jan 21, 2020 1:55 pm
by B.Y.O.B.
lacilaci wrote: Mon Jan 20, 2020 5:51 pm Hm, any idea how cycles solves this issue? Cause I haven't seen any performance issues there with such features.
I guess they have a different implementation of material transparency/opacity. It's a question for Dade if the LuxCore system could be changed in a way that allows MIS to work for fully transparent emissive materials.

Re: lights behind glass

Posted: Tue Jan 21, 2020 11:31 pm
by kintuX
B.Y.O.B. wrote: Mon Jan 20, 2020 5:00 pm
kintuX wrote: Mon Jan 20, 2020 1:57 pmset Opacity to 0
The problem about this is that you lose MIS.
This becomes apparent in glossy reflections/refractions like metal or rough glass.
In the attached scene there are two mesh lights: in the left half, with opacity = 1 and camera visibility disabled, in the right half with opacity = 0. The glass in front of the lights has shadow color white and the lower half is rough glass.
You can see the problems showing up in the form of undersampled glossy reflections (in the metal on top, and as fireflies from unresolved reflected caustics from the metal) and undersampled glossy refractions (the greenish rough glass).
Yes, aware of it... and I would simply rather render longer than spend time wishing for a goldfish to jump into my face. 'Cuz even then I'd need to master kung-fu or have humongous amount of luck, as they are quite slick and slippery, these sparkly little bastards :lol: ;)