Trouble with glass reflections

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.
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Trouble with glass reflections

Post by Asticles »

Hi all,

I'm having some trouble with glass reflections, after more than 7000 samples, I'm getting few samples on a glass reflection, compared with the rest of the space. What also makes the denoiser fails in that area. (Glass of the left side of the attached image).
7299samples.jpg
Have tried with metropolis and sobol, and I'm rendering on cpu.

Any hint what could be the solution?

Thanks.
zeealpal
Posts: 59
Joined: Wed Jan 10, 2018 12:25 pm

Re: Trouble with glass reflections

Post by zeealpal »

Nota solution to the noise, but have you tried using OIDN via the compositor instead? I can't find it at the moment, but I remember a video that denoised the passes individually and combined them, and it did work better for something I rendered.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Trouble with glass reflections

Post by Dade »

Are all light sources outside the box enclosed by the glass ?
Support LuxCoreRender project with salts and bounties
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Trouble with glass reflections

Post by Asticles »

Thanks for the response,

Dade:
yes, all lights are outside the glass.

Zeealpal:
I will try, but still there is much less sampling in the glass reflection.

Regards.
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Trouble with glass reflections

Post by Sharlybg »

Your scene is a nice challenge. Rendered on CPU high resolution with some reflective and specular surface plus small artificial light in an enclosed space.

This is my result on a old i7 4930k. without denoiser in 5mn :


Raw
Bath test.jpg
Denoised Edit 15mn
Bath test denoise.jpg

Settings

Clamping = 20

Light tracing = on

PGI = brute force radius scale (1) Photon count (2)
Caustic cahe = Default
DLSC = default

Meshlight with simple plane (no circle) importance set to 20.

Glass shadow color = 75% white
Last edited by Sharlybg on Thu Sep 17, 2020 9:18 am, edited 1 time in total.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Trouble with glass reflections

Post by Asticles »

Nice!

Try to remove the lights from inside the shower and change the outer ones with ies lights, not mesh. Maybe this is the problem.

Edit, when using PhotonGicache, the difference is much more noticeable.

Regards
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Trouble with glass reflections

Post by Asticles »

hmm, raising the importance of the ceiling lights seems to have solved a lot the situation. Still making tests.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Trouble with glass reflections

Post by Dade »

Asticles wrote: Thu Sep 17, 2020 9:17 am Try to remove the lights from inside the shower and change the outer ones with ies lights, not mesh. Maybe this is the problem.
Yes, all the surfaces inside the box closed by the glass are SDS paths. There two options:

- use PhotonGI caustic cache with periodic updates and have long rendering times;

- or use Hybrid glass (aka set glass shadow transparency so light can go directly trough it) and have very fast rendering at the cost of less realism.

Or have a mix of both like suggested by Sharlybg.
Support LuxCoreRender project with salts and bounties
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Trouble with glass reflections

Post by Asticles »

Actually, it is hybrid glass.

Can you explain me that Photongi settings?
Periodic updates are enabled by default.

Thanks
Asticles
Donor
Donor
Posts: 171
Joined: Thu Jan 11, 2018 8:52 am
Location: Barcelona, Spain
Contact:

Re: Trouble with glass reflections

Post by Asticles »

Wow, samples/sec dropped A LOT.
Post Reply