# Changing reflectionTexture to probe then revert causes inverted reflectionTexture

**URL:** https://forum.babylonjs.com/t/changing-reflectiontexture-to-probe-then-revert-causes-inverted-reflectiontexture/38160
**Category:** Bugs
**Created:** [February 13, 2023, 9:27am UTC](https://forum.babylonjs.com/t/changing-reflectiontexture-to-probe-then-revert-causes-inverted-reflectiontexture/38160 "2023-02-13T09:27:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tanpopo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tanpopo/32/32025_2.png) [@tanpopo](https://forum.babylonjs.com/u/tanpopo)
#### Post date: [February 13, 2023, 9:27am UTC](https://forum.babylonjs.com/t/changing-reflectiontexture-to-probe-then-revert-causes-inverted-reflectiontexture/38160/1 "2023-02-13T09:27:11Z")

</div>

> **[Babylon.js Playground](https://playground.babylonjs.com/#FEEK7G%23544)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

I was trying to switch the reflectionTexture for the material and I found out that after I change the reflectionTexture to probe’s cubeTexture and then change it back, the reflectionTexture was inverted in y axis.  
I’ve used spector.js to went through the shader inputs and it was absolutely the same if I didn’t make any mistakes. I also compared the properties of the texture and the material, but they also makes no difference.  
Changing the material to another material and then change it back will fix the problem, but not for my situation.

---

<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: [February 13, 2023, 1:14pm UTC](https://forum.babylonjs.com/t/changing-reflectiontexture-to-probe-then-revert-causes-inverted-reflectiontexture/38160/2 "2023-02-13T13:14:42Z")

</div>

This PR will fix the problem:

> <https://github.com/BabylonJS/Babylon.js/pull/13528>
>
> See https://forum.babylonjs.com/t/changing-reflectiontexture-to-probe-then-rever…t-causes-inverted-reflectiontexture/38160
