> Check out the free Road Procedural Texture.

Source: https://doc.babylonjs.com/toolsAndResources/assetLibraries/proceduralTexturesLibrary/road

# Road Procedural texture

![Road Procedural texture](https://doc.babylonjs.com/img/extensions/proceduraltextures/roadpt.webp)

## Using the Road procedural texture

Road procedural texture can be found here:

- Normal: [Normal](https://cdn.babylonjs.com/proceduralTexturesLibrary/babylon.roadProceduralTexture.js)
- Minified: [Minified](https://cdn.babylonjs.com/proceduralTexturesLibrary/babylon.roadProceduralTexture.min.js)

> [!WARNING]
> **Warning**
>
> The CDN should not be used in production environments. The purpose of our CDN is to serve Babylon packages to users learning how to use the platform or running small experiments. Once you've built an application and are ready to share it with the world at large, you should serve all packages from your own CDN.

A demo can be found here: [Playground: Road Procedural Texture Demo](https://playground.babylonjs.com/#FBW4N#0)

This texture has 1 parameter:
- **roadColor** is the road color (BABYLON.Color3/4)

```javascript
var roadmaterial = new BABYLON.StandardMaterial("roadMat", scene);
var roadmaterialpt = new BABYLON.RoadProceduralTexture("roadTex", 512, scene);
roadmaterial.diffuseTexture = roadmaterialpt;
```
