# How to use DeepAR Web SDK changeParameterTexture

**URL:** <https://forum.deepar.ai/t/how-to-use-deepar-web-sdk-changeparametertexture/396>\
**Category:** Help & Questions\
**Tags:** effect-help\
**Created:** [August 16, 2023, 1:32am UTC](https://forum.deepar.ai/t/how-to-use-deepar-web-sdk-changeparametertexture/396 "2023-08-16T01:32:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabe\_Guo](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/gabe_guo/32/574_2.png) [@Gabe\_Guo](https://forum.deepar.ai/u/Gabe_Guo)\
**Post date:** [August 16, 2023, 1:32am UTC](https://forum.deepar.ai/t/how-to-use-deepar-web-sdk-changeparametertexture/396/1 "2023-08-16T01:32:01Z")

</div>

Hi,

I’m trying to use the changeParameterTexture method from the web SDK, but I’m not seeing any effect. Could you please help me pinpoint where the issue might be? Thank you.

I’m using the official sample from this link:

> **[GitHub - DeepARSDK/quickstart-web-js-npm: DeepAR SDK for Web example project](https://github.com/DeepARSDK/quickstart-web-js-npm)**
>
> DeepAR SDK for Web example project. Contribute to DeepARSDK/quickstart-web-js-npm development by creating an account on GitHub.

And I’m using DeepAR Studio to open the Vendetta\_Mask.deepar file to confirm the parameters I’ve filled in.

const testBtn = document.getElementById(“test-btn”);  
testBtn.addEventListener(“click”, async () =\> {

```
deepAR.changeParameterTexture('face','Material','s_texColor','/images/crystal.png');

```

});

---

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [August 16, 2023, 7:36pm UTC](https://forum.deepar.ai/t/how-to-use-deepar-web-sdk-changeparametertexture/396/2 "2023-08-16T19:36:04Z")

</div>

I think the issue is that Material is not a valid component

> [@Gabe\_Guo](#):
>
> ```auto
> deepAR.changeParameterTexture('face','MeshRenderer','s_texColor','/images/crystal.png');
> 
> ```

Will replace the Matcap texture for this effect

`s_texNormal` is the normal map

and

`s_texMult` is the multiply texture

---

<div class="post-metadata">

**Author:** ![Gabe\_Guo](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/gabe_guo/32/574_2.png) [@Gabe\_Guo](https://forum.deepar.ai/u/Gabe_Guo)\
**Post date:** [August 17, 2023, 2:16am UTC](https://forum.deepar.ai/t/how-to-use-deepar-web-sdk-changeparametertexture/396/3 "2023-08-17T02:16:30Z")

</div>

Thank you Jelena!

Material is just one attribute of MeshRenderer.

I misunderstood.

Thank you sincerely
