Open SudevKiyadaTR opened 1 year ago
This seems to be an issue with the depthDistance
and worldDistance
being too low in the temporal reprojection pass (they are defined here: https://github.com/0beqz/realism-effects/blob/main/src/temporal-reproject/TemporalReprojectPass.js#L17). I think at that distance there are issues with precision so that the temporal reprojection pass constantly sees disocclusions there (due to a too high depth/distance difference between the current pixel and the reprojected pixel) which causes that flickering.
You can try to set depthDistance
and worldDistance
to higher values when passing the options when creating the SSGIEffect object. I'll look into it, maybe I can make distance play a role to account for the precision loss at higher distances.
Although, am not using any environment map for the scene, I quite love the way SSGI lifts up the scene. Is there a way to avoid the trailing effect at longer distance?
Am using this settings as option
https://user-images.githubusercontent.com/111417465/226257265-01a9946b-892d-4545-86eb-d042c89f2477.mp4