Wood Procedural Texture

Wood Procedural texture

Using the Wood procedural texture

Wood procedural texture can be found here:

A demo can be found here: Wood Procedural Texture Demo

This texture has 2 parameters :

  • woodColor to modify the color of the wood in the texture (BABYLON.Color3/4)
  • ampScale to change the waves amplitude in the wood (BABYLON.Vector2)
var woodMaterial = new BABYLON.StandardMaterial("woodMat", scene);
var woodTexture = new BABYLON.WoodProceduralTexture("woodTex", 1024, scene);
woodTexture.ampScale = 80.0;
woodMaterial.diffuseTexture = woodTexture;