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(name, scene);var woodTexture = new BABYLON.WoodProceduralTexture(name + "text", 1024, scene);woodTexture.ampScale = 80.0;woodMaterial.diffuseTexture = woodTexture;