Transparent texture issue with instancedMesh

I am instancing plane geometry with transparent texture but its not transparent sometimes when another instance of mesh is behind it while its perfectly transparent for webgl background or other meshes at same Z position (with z-index fighting of course). I am using RawShader material

Do you mind setting the depthWrite property of your material to false. Does this improve the rendering?

1 Like

Yes, this worked. Thanks