0

I try to render a pointcloud with the object edges shown as reference. Therefor I first created the object and duplicated it. One for the pointcloud and one for the edges as seen in the image below.

Now, most of the points depicted by the gray and red cubes render just fine, but some have a black face. It apears that this happens, if the face of a cube is to close the the face of the object used for rendering the edges.

I set the object blend mode to Alpha Hashed and disabled shadows, but this is still occuring.

How to fix the faces?

Shader and example

  • Please share simplified blend just with the issued Cube ... if the issue is still generated ... Use https://blend-exchange.com/ – vklidu Feb 26 '22 at 11:28
  • I can not upload the file, due to an error ("There was an internal error attempting to complete your request. "), but here it is: https://1drv.ms/u/s!Ajo6x8Lgcmg351UhSNkda4vKXJxn?e=I4C2Kj – Alphastrick Feb 26 '22 at 12:43
  • Sorry I forgot ... – vklidu Feb 26 '22 at 16:43

1 Answers1

2

From provided file, I can't say what cause blacks on the red cube, your file containes only gray cubes ... on top I see several gray cubes in row ...

enter image description here

The black parts are overlapping two cubes (z-fighting), there are two vertices close to each other.

enter image description here

So ... just delete upper or lower row of vertices.

vklidu
  • 36,165
  • 1
  • 61
  • 135
  • Thank you for your answer. I know, that the example does not contain a red cube, but it should still contain a black face. Never the less, the problem was that the cubes face intersected with the face of the container itself. Scaling up the pointcloud by just 0.001 fixed the problem. – Alphastrick Mar 02 '22 at 17:08