How are the black stripes in SSR produced, and how can they be eliminated?

Currently, the stripes in SSR can be mitigated by adjusting ‘ssr.selfCollisionNumSkip’ and ‘ssr.thickness’, but the results still look unnatural.

If you can setup a repro, we can try to help. But SSR has artifacts that can be hard to workaround sometimes. I guess you already read the doc about it:

https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/SSRRenderingPipeline#how-to-deal-with-artifacts

1 Like

image

Yes, I’ve reviewed the documentation and adjusted some parameters accordingly. Although there are still some imperfections.

A lot of artifacts would be mitigated if you could set a better noise texture to SSR. Like SSAO, a good blue noise makes artifacts more “natural”, the used sin-cos noise is repetative, makes waves and stripes.

Example (SSAO and dithering with blue noise)

2 Likes

I like the idea :slight_smile:

1 Like

Thank you. This is a bit challenging for me, but I will do my best to try it out.