Hello,
I’m currently adding some distortion effects to my shaders by using the scene color node with a normal map.
But I’m not satisfied with the results since the distortion also takes objects before the mesh into account.
I’m using HDRP. So what’s the best way of getting rid on the artefacts showing by red arrows in the image? I already setup some nodes to get the scene depth.