I have read through the shadow generator documentation and new methods are introduced in each version to generate better shadows.
I went mad turning every setting to true only to realize some shadows enhancing techniques doesn’t work with some light type.
I then proceed to remove all shadow enhancing techniques that only works on some light type keeping only techniques that works with all light types.
This is what I am left with:
shadowGenerator.forceBackFacesOnly = true;
shadowGenerator.usePoissonSampling = true;
shadowGenerator.usePercentageCloserFiltering = true;
shadowGenerator.useContactHardeningShadow = true;
Too confusing…TOO confusing, it should just work when you turn shadow on instead of having to deal with all these nonsense.
Can I confirm that these four settings works across all Light/Mesh Types ?
Of the four lines, can I reduce/remove any of them at all because maybe they contradict each other or something ?