Transparent Material Issue

When I see a transparent object through another transparent object. I am facing this issue. Please have a look into the below video. Any solutions to this.

Hi. Please check out this.

Transparent Rendering | Babylon.js Documentation.

You can either control alphaIndex (order of rendering, z-index like effect).
Sometimes doing this does the job, so you can first try it out.

material.needDepthPrePass = true.


Thanks for your reply @nogalo . I not aware of this previous. And this needDepthPrePass is not working in my case. Any other suggestions or solution for this ?. I applied same material for many objects. Some of them are completely change into black without transparent. Some of them are being as it is. What is the reason for this change. Any setup needed while creating the model on maya or blender. Or anything else?