Flipping image with faceUV when using DynamicTexture

Trying to flip images on box.
Not sure if this is a bug but the faceUV on a box with a DynamicTexture does not work the same as when using a regular Texture.
See a small sample here: https://playground.babylonjs.com/#5ZCGRM#1916
—bjorn

You need to pass the inversion to the update function of the dyn texture and also let the texture know it should wrap around :slight_smile: https://playground.babylonjs.com/#5ZCGRM#1920

2 Likes

Thanks! seems that the inversion is not need. If I remove that from your example it works perfectly.
https://playground.babylonjs.com/#5ZCGRM#1921

1 Like