# Diffuse texture backwards?

**URL:** https://forum.babylonjs.com/t/diffuse-texture-backwards/53805
**Category:** Questions
**Created:** [September 27, 2024, 6:09pm UTC](https://forum.babylonjs.com/t/diffuse-texture-backwards/53805 "2024-09-27T18:09:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![riven04](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/riven04/32/35407_2.png) [@riven04](https://forum.babylonjs.com/u/riven04)
#### Post date: [September 27, 2024, 6:09pm UTC](https://forum.babylonjs.com/t/diffuse-texture-backwards/53805/1 "2024-09-27T18:09:20Z")

</div>

Hi,

When assigning a diffuse texture, it is applied correctly to the mesh, however when assigning the same texture through the inspector applies it mirrored:

> **[Babylon.js Playground](https://playground.babylonjs.com/#6XIT28%234895)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/d/2d1cd85455c2d6ace97415f880f6c322829661ba.jpeg)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/4/243c13e4938cc53ccc5b34a9e7f18890353db7e6.jpeg)

The second image is applied by inspector, material, delete texture, upload texture.

---

<div class="post-metadata">

### Author: ![Joe\_Kerr](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/joe_kerr/32/39017_2.png) [@Joe\_Kerr](https://forum.babylonjs.com/u/Joe_Kerr)
#### Post date: [September 27, 2024, 6:17pm UTC](https://forum.babylonjs.com/t/diffuse-texture-backwards/53805/2 "2024-09-27T18:17:44Z")

</div>

I am guessing they instantiate the texture like so:

> **[Babylon.js Playground](https://playground.babylonjs.com/#6XIT28%234896)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL and WebGPU 3D scenes

---

<div class="post-metadata">

### Author: ![alexchuber](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/alexchuber/32/32839_2.png) [@alexchuber](https://forum.babylonjs.com/u/alexchuber)
#### Post date: [September 27, 2024, 6:56pm UTC](https://forum.babylonjs.com/t/diffuse-texture-backwards/53805/3 "2024-09-27T18:56:02Z")

</div>

Yep, that’s it 🙂 [Babylon.js/packages/dev/inspector/src/components/actionTabs/lines/textureLinkLineComponent.tsx at 6ff4ecab38ef4ce9a5c3f517415482176dae0a53 · BabylonJS/Babylon.js · GitHub](https://github.com/BabylonJS/Babylon.js/blob/6ff4ecab38ef4ce9a5c3f517415482176dae0a53/packages/dev/inspector/src/components/actionTabs/lines/textureLinkLineComponent.tsx#L163C48-L163C49)  
@sebavan Is this expected behavior?

---

<div class="post-metadata">

### Author: ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)
#### Post date: [September 27, 2024, 8:54pm UTC](https://forum.babylonjs.com/t/diffuse-texture-backwards/53805/4 "2024-09-27T20:54:37Z")

</div>

Yep. Inspector makes no assumption and set all value to false if possible
