Opacity problem with multiple tubes


I’m trying to draw multiple tubes inside each other. all tubes have the same material with is meshPhysicalMaterial with opacity = 0.5 and transparent = true. But I’m getting unexpected results because I can’t see the inside pipes. It seems like all pipes have the same refractive index. It there a solution for this issue?

A typical approach to solve/mitigate transparency issues like that is to set depthWrite to false on each transparent material. Does it improve your scene, too?

1 Like

Yes, it’s better now. Thanks