You have some changes to perform in your code to support logarithmic depth in ShaderMaterial materials, see ShaderMaterial and Logarithmic Depth Buffer.
You have some changes to perform in your code to support logarithmic depth in ShaderMaterial materials, see ShaderMaterial and Logarithmic Depth Buffer.