# Node Material Procedural Textures

> Learn how to create Procedural Textures using the Node Material.

Source: https://doc.babylonjs.com/features/featuresDeepDive/materials/node_material/NMEProceduralTexture

## Creating Procedural textures

Starting with Babylon.js v4.2, you can now create procedural textures with the node material editor.

You simply need to change the mode to _Procedural texture_ this time:

Some blocks are made unavailable in this mode (they are hidden from the block list), as they have no meaning: the mesh, particle and animation blocks.

When you have created your procedural texture in the NME, you can create a regular `BABYLON.ProceduralTexture` instance by calling the `NodeMaterial.createProceduralTexture` method:

```javascript
const proceduralTexture = nodeMaterial.createProceduralTexture(256);
```

As always, you can also load the NodeMaterial from our snippet server:

```javascript
const ground = BABYLON.MeshBuilder.CreateGround("ground", {width: 6, height: 6}, scene);

BABYLON.NodeMaterial.ParseFromSnippetAsync("#A7A3UB#1", scene).then((nodeMaterial) => {
    const proceduralTexture = nodeMaterial.createProceduralTexture(256);

    let mat = new BABYLON.StandardMaterial();

    mat.emissiveTexture = proceduralTexture;

    ground.material = mat;
});
```

Playground: [Playground: NME Procedural Texture Example](https://playground.babylonjs.com/#8S19ZC#1) - Playground example of using the Node Material Editor to create a Procedural Texture.

You can check out this video for more information:
[YouTube video](https://www.youtube.com/watch?v=qqMuuSM7GvI)
