About shadows and emission

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

About shadows and emission

Post by wasd »

I have two questions.
1) Is it possible to disable shadow casting for certain mesh?
2) Is it possible to have material that looks like it emits light, but without actually emitting light?

I am trying to render incandescent light bulb. I have two options: make filament emitting light or use point light. With filament emitting light, the bulb looks pretty funny, so I choose to resort to point light for now. And for that one I need filament to not to cast shadows and be like emissive, but not emissive.
Attachments
bu.png
CPU Bidir + Metropolis | Core i5-4570
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: About shadows and emission

Post by B.Y.O.B. »

You could set the light bulb's glass shader to "architectural", this will let direct light through.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: About shadows and emission

Post by Sharlybg »

AND also try this setup :

viewtopic.php?f=4&t=483&start=50#p6827
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: About shadows and emission

Post by wasd »

B.Y.O.B. wrote: Fri Nov 23, 2018 12:49 pm You could set the light bulb's glass shader to "architectural", this will let direct light through.
So, the answer for both questions is "no"?
CPU Bidir + Metropolis | Core i5-4570
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: About shadows and emission

Post by B.Y.O.B. »

wasd wrote: Fri Nov 23, 2018 1:16 pm So, the answer for both questions is "no"?
Correct.

However, maybe you can do some tricks with render layers.
User avatar
lacilaci
Donor
Donor
Posts: 1969
Joined: Fri May 04, 2018 5:16 am

Re: About shadows and emission

Post by lacilaci »

Not doable currently and every workaround is just painfuly slow and impractical.

However, I added this and other Ray visibility options per object as feature request on github. So hopefuly someday it willl be implemented as for archviz purposes it is super important.
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: About shadows and emission

Post by wasd »

With rough glass the bulb looks just about right. I've also added some bump, like on the real thing, but it seems there's a bit too much of it.
Now render is 6 times slower.
Attachments
bu2.png
CPU Bidir + Metropolis | Core i5-4570
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: About shadows and emission

Post by wasd »

Reference:
Attachments
lb.jpg
CPU Bidir + Metropolis | Core i5-4570
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: About shadows and emission

Post by Sharlybg »

wasd wrote: Fri Nov 23, 2018 3:34 pmReference:
if this is your reference you need architectural glass as BYOB told you. the scattering effect you see in your ref is due to camera Glare and bloom.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
wasd
Posts: 319
Joined: Tue Apr 24, 2018 7:20 pm

Re: About shadows and emission

Post by wasd »

Sharlybg wrote: Fri Nov 23, 2018 3:39 pm
wasd wrote: Fri Nov 23, 2018 3:34 pmReference:
if this is your reference you need architectural glass as BYOB told you. the scattering effect you see in your ref is due to camera Glare and bloom.
Disagree. Take a look at the bulb. It is brighter than the walls. If I'd use arc. glass, the wall would be brighter (I checked that).
Besides, in my opinion, nobody needs architectural glass. In my personal list of the worst and useless things in Luxcore architectural glass is number one.

p.s. I know about bloom and glare, but it's beyond my research for now.
CPU Bidir + Metropolis | Core i5-4570
Post Reply