I think, the corners is not really black, the problem seems to be since some part of lines (behind the “black” corners) not visible (while other sprites visible ok).
Also I noticed the problem appears only for far nodes groups… No any problem with nodes between center of the world and the camera. And even far nodes sometimes ok(presumably, if there is no any objects before).
Another problem: sometimes, if a transparent line over sprite, it is rendered as transparent crack at sprite(so I can see through this crap objects behind the sprite).
The sprites images created using canvas2d with transparent corners.
The lines is BufferGeometry with simple shaders. The same troubles if draw lines sepratelly(w/o BufferGeometry).
I tried to explore THREE.Sprite, etc sources but not found any solutions/ideas.
What the root problem(s): in sprites or in lines? Any help welcome!
If set depthWrite to false, “black” corners are gone, but the nodes still abruptly change color/lightness while rotating the scene. Here is example (you can set depthWrite = false at first lines):
I think about to not use sprite at all, but create 3d circle with needed image texture - there is no such problems with 3d objects.
But I am interesting, what the root of the problem? It seems to be correlated to z-asix zero, and may be there is some parameter unknown for me…
Also, I noticed strange effects while playing with near parameter of PerspectiveCamera.
There is no “black” corners if set near of the camera to 0.0000001! The corners returns for any bigger values(even for 0.000001[5 zeros instead of 6]) and sometimes it causes strangle flickering of links/nodes…
Resuming:
depthWrite = true, near = 0.1 - “black” corners + nodes lightness artifacts while rotating depthWrite = false, near = 0.1 - no corners, only nodes lightness artifacts depthWrite = true, near = 0.0000001 - no corners, but looks like links are not transparent (at least at zoom out) 0.0000001 > near > ~~0.001 - strange flickering
Could you clear it for me plz?
What the magic plate at z-axis zero? Before it all ok, farther - artifacts.
How camera’s near option changes the render result so strange?