I'm trying to create something like canvas in SceneKit using an SCNBox, with a UIImage "wrapped" around from one surface and onto the four others adjacent to it.
The only way I can currently think to do this would be to chop up the UIImage into five separate images and put those onto the sides as materials, but I'm sure there must be an easier way.
Can anyone steer me in the right direction here? The box will have a separate texture/material on the side opposite the "front".

You can use
contentsTransformproperty fromSCNMaterialProperty, for adjust needed texture coordinates from your image toSCNBoxSome explanations with simplified example:
Lets suppose that you are using cube and you have a texture like this
By dividing it into rectangles, you will have
You want to skip rectangles
1, 3, 7, 9and cover your cube with this texture. For this just normalize the size of side from yourSCNBoxbetween 0 and 1, and use it to set the scale and transform incontentsTransformmatrix.I have a cube with equal sides in my example - so it will be the third part of the whole texture. For taking the
5rectangle from the textureYou can fill 5 sides with configured materials, and the last on (on the back) just with the color and set them to
materialsproperty of yourSCNBox. In the result you will have