# Texture map transparency doesn't work

**URL:** <https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912>\
**Category:** Questions\
**Tags:** textures\
**Created:** [January 3, 2024, 9:42pm UTC](https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912 "2024-01-03T21:42:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![helix23](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/helix23/32/37180_2.png) [@helix23](https://discourse.threejs.org/u/helix23)\
**Post date:** [January 3, 2024, 9:42pm UTC](https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912/1 "2024-01-03T21:42:34Z")

</div>

I’ve been trying to load a png image as map for a material, the transparent parts of the material are appearing white.  
without alphaTest

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/c/a/ca98540bc7f32f5f5aff58cb89df5d3703e5be4e.jpeg)  
with alphaTest set to 0.5  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/3X/0/c/0c982a2265e674de5d17d71f6283f2470b65d7f3.jpeg)  
the png i’m loading is transparent on the white part, the material color is set to white, but setting it to black also doesn’t give the intended effect, what’s the ideal color if we need to apply it.  
i want the white part to be completetly transparent.  
I used MultiplyBlending also.

---

<div class="post-metadata">

**Author:** ![manthrax](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/manthrax/32/2596_2.png) [@manthrax](https://discourse.threejs.org/u/manthrax)\
**Post date:** [January 3, 2024, 10:41pm UTC](https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912/2 "2024-01-03T22:41:16Z")

</div>

Paste us your material setup\>

Did you set transparent:true on the material?

---

<div class="post-metadata">

**Author:** ![helix23](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/helix23/32/37180_2.png) [@helix23](https://discourse.threejs.org/u/helix23)\
**Post date:** [January 4, 2024, 8:55am UTC](https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912/3 "2024-01-04T08:55:46Z")

</div>

It was on, but i got it to work with changing the material color to match the ground color, shouldn’t the texture map override the material’s default color ?

---

<div class="post-metadata">

**Author:** ![manthrax](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/manthrax/32/2596_2.png) [@manthrax](https://discourse.threejs.org/u/manthrax)\
**Post date:** [January 5, 2024, 1:27am UTC](https://discourse.threejs.org/t/texture-map-transparency-doesnt-work/59912/4 "2024-01-05T01:27:50Z")

</div>

the texture color gets multiplied by the material color, so if you want pure texture color, the material should be white.
