Road Procedural Texture
Using the Road procedural texture
Road procedural texture can be found here:
A demo can be found here: Road Procedural Texture Demo
This texture has 1 parameter :
- roadColor is the color for the road (BABYLON.Color3/4)
javascript
var roadmaterial = new BABYLON.StandardMaterial("roadMat", scene);var roadmaterialpt = new BABYLON.RoadProceduralTexture("roadTex", 512, scene);roadmaterial.diffuseTexture = roadmaterialpt;