when i enable a shader that uses depthbuffer, there is extreme aliasing due to the low depthbuffer resolution.
my resolution is 2560x1080.
ibb.co/9T3gkfX
i tried to change some numbers in displaydepth.fx hoping that somehow i could fix it, even though i know nothing about coding.
so i changed the PixelSize.xy value and the aliasing was gone but the image flickered a lot.
so i assumed that the limitation is from the shader it self.
i changed the bold line value
________________________________________________________
float3 NormalVector(float2 texcoord)
{
float3 offset = float3(ReShade:pixelSize.xy, 0.0);
float2 posCenter = texcoord.xy;
float2 posNorth = posCenter - offset.zy;
float2 posEast = posCenter + offset.xz;
float3 vertCenter = float3(posCenter, 1) * GetDepth(posCenter);
float3 vertNorth = float3(posNorth, 1) * GetDepth(posNorth);
float3 vertEast = float3(posEast, 1) * GetDepth(posEast);
return normalize(cross(vertCenter - vertNorth, vertCenter - vertEast)) * 0.5 + 0.5;
}
________________________________________________________
if any one could me understand how i could increase the resolution, pls reply