Page 1 of 1

caustics cache not working on glossy translucent/matte translucent materials

Posted: Tue Sep 07, 2021 10:21 am
by dat_boi
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 101 times

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

Posted: Wed Sep 08, 2021 12:04 pm
by Dade
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).