Hello fellow constructeers,
I was wondering if there is a feasible way to alter the texture offset on a 3d shape.
Let's consider the following scenario:
Consider 16x16 box 3d shape. The shape has set a tiled background (256x256 image) as face. The 3d shape gets cloned 16 times (e.g. create, then set from JSON) and the copies are placed next to each other. Altering the y-offset of the tiled background by loopindex * 16 during the creation loop of course changes every box instance.
The common workaround is to put box & texture in a container or create a hierarchy.
This though is resulting in unnecessary object count overhead.
I was wondering if there is another way (maybe JS) to offset the box face per box instance?