Help Adding Uvs and texturing

I’m not sure how to properly set uvs and texture the custom voxel mesh i have created.
The playground where my code is at:

I want to use a custom texture I’ve created as well off my computer.
grassBlock-1.png
If thats possible?

I think you can just assign the uvs for each block like it is a cube, and create a material with the custom texture? That should be possible, yes. See: Using External Assets In the Playground | Babylon.js Documentation (babylonjs.com)

I’m not sure how to set the uvs at all also dont have access to the websites that are used in the documentation.

You can use other hosting websites, it doesn’t need to be the ones in the documentation.

1 Like