Image Display issue

Hi there,
I have mesh with texture and it works fine in pg but when implement same in Reactjs, Out will be different. What could be the issue? Any suggestions please

PG link : https://playground.babylonjs.com/#XAXAKD#13

Output im getting in React Application
Three

Diffuse property which i gave used in React app
four

I don’t know why the picture is upside down but you can either set a negative value for vScale (-2.4) or pass false as the 4th parameter of the diffuse texture constructor to fix the problem.

3 Likes

Thanks @Evgeni_Popov Setting value as false helped to resolve the issue.