Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var myBrickImageMaterial = new BABYLON.StandardMaterial("brick", scene);
myBrickImageMaterial.ambientTexture = new BABYLON.Texture("textures filepath", scene);
box1.material = myBrickImageMaterial;
box2.material = myBrickImageMaterial;
box3.material = myBrickImageMaterial;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment