Reputation: 13
I test threejs and I have this problem:
I do not understand why shapes placed in the background are visible through the foreground shape when zoom in and out. Do you have an idea?
Upvotes: 1
Views: 854
Reputation: 176
It has to do with z-fighting https://en.wikipedia.org/wiki/Z-fighting An easy fix for your case would be to change your "nearPlane" value from .1 to for example 2.
Upvotes: 1