Apply texture to backside of plane not working as intended

Hello,
i tried to apply a texture to the backside of a plane.
However it seems i did something wrong because there does not seem to be a difference in the display.
I used

 let plane_f = BABYLON.MeshBuilder.CreatePlane("plane_a", {width: size.width, height: size.height,sideOrientation:BABYLON.MeshBuilder.BACKSIDE}, scene);

https://playground.babylonjs.com/#CJ42YT#2
Any ideas?

Hey! what were you expecting? The back side will simply build the mesh in the reverse order.

You could in this case adapt the uScale of your texture to revert it back https://playground.babylonjs.com/#CJ42YT#3

1 Like

@JohnK, I did never see this doc page thanks a lot :slight_smile:

Thanks guys, well think I somehow understood the sideOrientation in a different way.
As in: On which side of the plane the texture would be applied
I tried with two planes and one with

sideOrientation:BABYLON.MeshBuilder.BACKSIDE

and the other with

sideOrientation:BABYLON.MeshBuilder.FRONTSIDE

and I did not see a difference.
https://playground.babylonjs.com/#CJ42YT#4

Guess it is meant to use differently.
I have used the Doubleside before with no problem.

Its BABYLON.Mesh.BACKSIDE or BABYLON.Mesh.FRONTSIDE

.Mesh. not .MeshBuilder.

1 Like

Arrr! AutoComplete be a harsch mistress!
Thanks for that detail

2 Likes