Textures are shining , It looks terrible from a distance

I know the reason is too close. so i use useLogarithmicDepth deal with it.
for (let i = 0; i < materials.length; i++) {
materials[i].enableSpecularAntiAliasing = true;
materials[i].useLogarithmicDepth = true;
it worked, But my buildings on the ground are gone. these buildings save in other gltf files.
Is there any way to keep the building from disappearing ?Or there are other ways to eliminate flicker

That’s is z fighting change the min/max camera range to a smaller span, or subtract some zOffset from the grass material.


yes , its very helpful !