Back to Babylon Js

Babylon.js Materials Library

packages/public/@babylonjs/materials/readme.md

9.5.2615 B
Original Source

Babylon.js Materials Library

For usage documentation please visit the materials library documentation.

Installation

To install using npm:

bash
npm install @babylonjs/core @babylonjs/materials

Usage

Import and use in your project:

javascript
import { GridMaterial } from "@babylonjs/materials/grid";

const gridMaterial = new GridMaterial("gridMaterial", scene);

For more information, see the ES6 support documentation.