Odd how the area directly to the left of the towel gets so very dark with sharp contrast when using the geometry renderer but looks normal on the prepass one.
The towel has a material with the âtwo sided lightingâ property enabled, but the geometry buffer renderer is not able to take this parameter into account (it does not know about the material, only the geometry). So, it is not able to flip the normal when necessary, contrary to the prepass renderer.
@ChristofferA looking forward to the blur fixes or changes you are doing as well because while what evgeni is doing fixes the banding bug , there is of course still the issue you outlined in that the blur is destroying the darkening in the creases
excellent thread and progress. Thanks gents, I appreciate all effort and improvements! Better viisuals for clients
Ah, so that is probably why it fails in our production code experiments on double-sided materials. We are still on 4.x which didnât have the prepass option for SSAO2, right? If so, a perfect reason to try to get some time allocated to an upgrade to 5.x.
It seems the prepass renderer was already existing in 4.2, so you can give it a try. However, the depth texture was probably 16 bits float at that time too (though you can change it by accessing some private member of the PrePassRenderer class).