# Transparent Material Issue

**URL:** <https://forum.babylonjs.com/t/transparent-material-issue/19856>\
**Category:** Questions\
**Created:** [April 9, 2021, 12:10pm UTC](https://forum.babylonjs.com/t/transparent-material-issue/19856 "2021-04-09T12:10:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jayakannan](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jayakannan](https://forum.babylonjs.com/u/jayakannan)\
**Post date:** [April 9, 2021, 12:10pm UTC](https://forum.babylonjs.com/t/transparent-material-issue/19856/1 "2021-04-09T12:10:57Z")

</div>

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.

[https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/a/ad57025b41c689672ccef725d048f3970b327644.mp4](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/2X/a/ad57025b41c689672ccef725d048f3970b327644.mp4)

---

<div class="post-metadata">

**Author:** ![nogalo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/nogalo/32/120_2.png) [@nogalo](https://forum.babylonjs.com/u/nogalo)\
**Post date:** [April 9, 2021, 2:23pm UTC](https://forum.babylonjs.com/t/transparent-material-issue/19856/2 "2021-04-09T14:23:24Z")

</div>

Hi. Please check out this.

[Transparent Rendering | Babylon.js Documentation](https://doc.babylonjs.com/divingDeeper/materials/advanced/transparent_rendering).

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.

---

<div class="post-metadata">

**Author:** ![jayakannan](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jayakannan](https://forum.babylonjs.com/u/jayakannan)\
**Post date:** [April 10, 2021, 3:56am UTC](https://forum.babylonjs.com/t/transparent-material-issue/19856/3 "2021-04-10T03:56:50Z")

</div>

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?
