Hi, I’m working on an app that displays a large number of cubes using instancemesh and a cube geometry.
It’d be useful to hide some faces on each cube. So I thought maybe it’s possible to create a set of transforms, to be able to select the faces shown for each cube.
Is it possible to use transforms for this purpose? If so, could I expect an improvement on performance from applying the transform?
Yes, morphing will work, but if anything it will decrease performance, since you’d be just adding one more step for the GPU to process - it won’t remove the actual triangles sent to the GPU.
Most of the answers in this thread is basically what you’re looking for - but there’s no single method in three that’d help you with voxel meshing.