Is it possible to have a different material on each surface of a box?

I would like to draw a box using the min x,y,z and max x,y,z values but assign different materials to each surface face of the resulting box. Is this possible? All the examples that I have use the same material for all the surfaces.

Thanks,

Keith

It’s not currently possible out of the box. If you’re up for it, I think it wouldn’t be too much work to modify or copy BoxGeometry and update the texture coordinates to do this. With this approach you would still use a single image but each portion of the texture would represent one side of the box. I’ve never tried it, so it could be more complicated than it seems at face value.

There’s a tutorial of the Geometry system here and an unfinished draft of part 2 here. to help give you some additional information on how the geometry stuff works.