How exactly does contact shadow length work?

Lately I was experimenting with contact shadow. But I don´t really understand what the contact shadow length value in a lightsource stands for.

Sure, if I set it to something like 0.1 it works well but… why? I read in the documentation, that the value resembles how far a trace from a pixel to the light source is shooting. But wouldn´t that mean, that 1 (which in practice does not work well) is always good, since it can travel over the whole screen?

There are a finite number of samples, so the larger the length, the more spaced out the samples get, causing discontinuities. I wish it gave control over the sample count, but I’m not sure it would be practical to sample every single pixel even of we could adjust it.

That´s, what I didn´t quite understand thank you. So the longer the ray tracings are, the higher the probability, that the samples do not “find” the occluder, because they are simply not enough.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.