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?


