I have scene() and meshes:
scene:
scene.add(layer1)
layer.add(layer2)
layer2.add(layer3)
Wanted result is:
layer1 covered by layer2 and covered by layer3.
It works fine, but when i go far away with camera, there start to be loss precision problem and looks like this: (layers are not correctly rendered one to another)
i tried to solve by materials,
layer2.material.depthTest = 0;
layer3.material.depthTest = 0;
works fine, but there is problem with another object between camera and layers.
Do exist best practice for solution?