# How do I modify my own PBR dynamic texture in the.GLB model Mesh.PBRMaterial?

**URL:** <https://forum.babylonjs.com/t/how-do-i-modify-my-own-pbr-dynamic-texture-in-the-glb-model-mesh-pbrmaterial/53317>\
**Category:** Questions\
**Tags:** material, multimaterial\
**Created:** [September 10, 2024, 3:47am UTC](https://forum.babylonjs.com/t/how-do-i-modify-my-own-pbr-dynamic-texture-in-the-glb-model-mesh-pbrmaterial/53317 "2024-09-10T03:47:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kitty](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@Kitty](https://forum.babylonjs.com/u/Kitty)\
**Post date:** [September 10, 2024, 3:47am UTC](https://forum.babylonjs.com/t/how-do-i-modify-my-own-pbr-dynamic-texture-in-the-glb-model-mesh-pbrmaterial/53317/1 "2024-09-10T03:47:29Z")

</div>

Snippet code:  
Let the model itself PBRMaterial

 ![屏幕截图 2024-09-10 114317](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/2/220212b5a0acd7eb4a1b142e49c380d4af274e18.png)

Replace with a custom PBR dynamic texture：

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/c/9/c963d58e544b369691cc3578ff83a9556adc53e7.png)

---

<div class="post-metadata">

**Author:** ![Evgeni\_Popov](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/evgeni_popov/32/4432_2.png) [@Evgeni\_Popov](https://forum.babylonjs.com/u/Evgeni_Popov)\
**Post date:** [September 10, 2024, 10:41am UTC](https://forum.babylonjs.com/t/how-do-i-modify-my-own-pbr-dynamic-texture-in-the-glb-model-mesh-pbrmaterial/53317/2 "2024-09-10T10:41:50Z")

</div>

`PBRStandardDynamicTextureMaterial` is not a class from Babylon, but if it implements a proper material, your code should work.

What is the problem with the code? Are you able to setup a repro in the Playground?

However, note that .glb files don’t support custom materials, only standard PBR materials.
