LuxCore icon indicating copy to clipboard operation
LuxCore copied to clipboard

Weird behavious with caustics, object not receiving ANY caustics with a roughness below 0.23

Open juangea opened this issue 4 years ago • 2 comments

So that's the thing, I was becoming crazy because my precious caustics were gone.

Today I had a bit of time to separate components and investigate and I found this, this is an example scene, notice the roughness value and the result render, it's final render, with caustics cache, but it affects also light tracing:

Captura de pantalla de 2021-06-04 23-26-28

Now notice that I raise the roughness value to 0.23 instead of 0.22:

Captura de pantalla de 2021-06-04 23-28-02

Here is the exact same file used in those renders, just open it, launch render, then lower the roughness and check the result:

https://we.tl/t-9INjKEA2Av

juangea avatar Jun 04 '21 21:06 juangea

The roughness input of the disney material is squared internally. 0.22² = 0.0484 0.23² = 0.0529

So it probably has to do with the default roughness threshold of 0.05 in the light tracing/PhotonGI cache settings.

Theverat avatar Jun 04 '21 21:06 Theverat

Interesting, but that means that ANY kind of caustics would be disabled over a surface with less than 0.22 as roughness?

Because I would expect that from disabling it from light tracing, but also from caustics cache?

juangea avatar Jun 04 '21 22:06 juangea