# Change specular on MeshStandardMaterial

**URL:** <https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439>\
**Category:** Questions\
**Tags:** textures, materials\
**Created:** [February 12, 2021, 4:06pm UTC](https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439 "2021-02-12T16:06:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![theoavoyne](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/theoavoyne/32/14871_2.png) [@theoavoyne](https://discourse.threejs.org/u/theoavoyne)\
**Post date:** [February 12, 2021, 4:06pm UTC](https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439/1 "2021-02-12T16:06:17Z")

</div>

Hi guys,

I’m importing a model with the `GLTFLoader`. The object is super shiny/glossy and I can’t find how to fix it.

Here it is: [https://gd-viewer.firebaseapp.com/](https://gd-viewer.firebaseapp.com/)

I was able to change easily the _shininess_ on SketchFab using the specular slider, as you can see on [this video](https://youtu.be/yQOqN69I-Eo). However, I can’t reproduce this in my code as it seems that `MeshStandardMaterial` has no specular property. Any idea how I can fix this?

The full code is available here : [gd-viewer/index.js at fd38bb3369605b893191f6d323cdd04513c45bba · theoavoyne/gd-viewer · GitHub](https://github.com/theoavoyne/gd-viewer/blob/fd38bb3369605b893191f6d323cdd04513c45bba/src/index.js)

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![donmccurdy](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/donmccurdy/32/33209_2.png) [@donmccurdy](https://discourse.threejs.org/u/donmccurdy)\
**Post date:** [February 12, 2021, 4:17pm UTC](https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439/2 "2021-02-12T16:17:54Z")

</div>

Perhaps convert the material to MeshPhysicalMaterial after loading, then change `.reflectivity`? MeshStandardMaterial does not have this property, but increasing `.roughness` does decrease glossiness as well.

---

<div class="post-metadata">

**Author:** ![theoavoyne](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/theoavoyne/32/14871_2.png) [@theoavoyne](https://discourse.threejs.org/u/theoavoyne)\
**Post date:** [February 12, 2021, 4:24pm UTC](https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439/3 "2021-02-12T16:24:27Z")

</div>

Thanks for your reply @donmccurdy. I tried increasing the roughness but it seems to have no effect. How can I convert the material to `MeshPhysicalMaterial`?

EDIT

I managed to switch to a `MeshPhysicalMaterial`. I set the reflectivity to 0, and still… no effect at all.

Unless I’m doing something wrong. Here is my code:  
const object = gltf.scene.children[0].children[0].children[0].children[0];  
const physicalMaterial = new MeshPhysicalMaterial(object.material);  
physicalMaterial.reflectivity = 0;  
physicalMaterial.metalness = 0;  
physicalMaterial.needsUpdate = true;  
object.material = physicalMaterial;

---

<div class="post-metadata">

**Author:** ![Victor\_Mustin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/victor_mustin/32/17087_2.png) [@Victor\_Mustin](https://discourse.threejs.org/u/Victor_Mustin)\
**Post date:** [April 18, 2021, 8:50pm UTC](https://discourse.threejs.org/t/change-specular-on-meshstandardmaterial/23439/4 "2021-04-18T20:50:16Z")

</div>

Omg theoavoyne, I was reading about MeshPhysicalMaterial, I just clicked on your firebase link and realized we work for the same company haha. My mind went 🤯  
I had trouble with this model too, the maps are not physically accurate.
