I create SCNNode with SCNBox,
SCNBox *wallBox = [SCNBox boxWithWidth:width height:100 length:4 chamferRadius:0];
SCNMaterial *allMaterial = [SCNMaterial new];
allMaterial.diffuse.contents = @"allwall.png";
SCNMaterial *smallMaterial1 = [SCNMaterial new];
smallMaterial1.diffuse.contents =@"bottomwall.png";
SCNNode *rightwall = [SCNNode nodeWithGeometry:wallBox];
rightwall.geometry.materials = @[smallMaterial1,allMaterial,smallMaterial1,allMaterial,allMaterial,allMaterial];
but the back of texture direction is wrong.
I want two direction is same,how to transform content of SCNMaterial ? how to use "contentsTransform"?