# envMap does not corresponding to mesh roughness value

**URL:** <https://discourse.threejs.org/t/envmap-does-not-corresponding-to-mesh-roughness-value/19571>\
**Category:** Questions\
**Tags:** environment-map\
**Created:** [October 9, 2020, 7:09am UTC](https://discourse.threejs.org/t/envmap-does-not-corresponding-to-mesh-roughness-value/19571 "2020-10-09T07:09:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardBao](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/richardbao/32/13319_2.png) [@RichardBao](https://discourse.threejs.org/u/RichardBao)\
**Post date:** [October 9, 2020, 7:09am UTC](https://discourse.threejs.org/t/envmap-does-not-corresponding-to-mesh-roughness-value/19571/1 "2020-10-09T07:09:30Z")

</div>

hi, I met a problem a few days ago and still cannot find a solution.  
so I want to post here to see if anyone could help me out.  
when i set metalness = 1  
the metal material will look very dark and reflective and not respond to the roughness change(basically it looks the same no matter what roughness I changed.)  
i am using lightmap and envMap without any lights.  
other material like wood looks correct to me, the only problem is the metal material.  
here is how it looks.

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/3/3fdc5ea89afa33913475362b295ae53576a46604.jpeg)  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/threejs/original/2X/2/280767cdf509f2dec70983b33896aa6eb5d95d4f.png)  
any ideas?

---

<div class="post-metadata">

**Author:** ![Mugen87](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/mugen87/32/5645_2.png) [@Mugen87](https://discourse.threejs.org/u/Mugen87)\
**Post date:** [October 11, 2020, 8:19am UTC](https://discourse.threejs.org/t/envmap-does-not-corresponding-to-mesh-roughness-value/19571/3 "2020-10-11T08:19:28Z")

</div>

Looking at your screenshot, it seems that you have used a `CubeTexture` with six images as your environment map. So you have loaded it via `CubeTextureLoader`, right? If so, you have to make sure to use `PMREMGenerator` to preprocess/prefilter the environment map so it can be properly used with a PBR material. All PBR examples are doing this e.g.:

> **[three.js webgl - materials](https://threejs.org/examples/webgl_materials_variations_standard)**
