caustics cache not working on glossy translucent/matte translucent materials

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.
Post Reply
User avatar
dat_boi
Posts: 29
Joined: Thu Dec 31, 2020 3:02 am
Location: Melbourne, Victoria, Australia
Contact:

caustics cache not working on glossy translucent/matte translucent materials

Post by dat_boi » Tue Sep 07, 2021 10:21 am

no caustic cache glossy translucent.jpg
latest prerelease version of luxcorerender

I have been facing an issue with the caustics cache. The caustics show up through glass when reflected off of a matte material/disney material/maybe others. Caustics do NOT show through glass when reflected off of glossy translucent/Matte translucent material. I will attach the blend file also.
no caustics cache glossy + matte translucent.7z
(804.25 KiB) Downloaded 8 times

User avatar
Dade
Developer
Posts: 5523
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: caustics cache not working on glossy translucent/matte translucent materials

Post by Dade » Wed Sep 08, 2021 12:04 pm

At the moment, PGI doesn't deposit photons on: https://github.com/LuxCoreRender/LuxCor ... he.cpp#L68

Translated, photons are not stored on surfaces that:

- transmit;
- or specular;
- or glossy and under the glossiness threshold;
- or have PGI disabled.

I can look if I can relax the "transmit" constraint (i.e. your problem).
Support LuxCoreRender project with salts and bounties

Post Reply