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)
var roadmaterial = new BABYLON.StandardMaterial("road", scene);
var roadmaterialpt = new BABYLON.RoadProceduralTexture("customtext", 512, scene);
roadmaterial.diffuseTexture = roadmaterialpt;