Just picked BabylonJS up a few days ago and it’s my first experience with 3D. Having lots of fun trying to figure it out, despite many frustrations. So hello to the babylonJS community!
I’m trying to build a simple voxel engine. I’ve made textures in Blender, and applied them to:
new Babylon.MeshBuilder.CreateBox('box', options, scene)
Took me a little while to figure out how to use faceUV to apply this texture to a single cube. The problem now is that when I render 16x16x16 of these cubes together, the texture seems to draw across the entire face of all of the cubes.
Here a playground link since I have no idea how to explain the problem properly.
Can anyone help explain what’s happening here?