0.0.7 • Published 2 years ago

thunder-materials v0.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

threejs-shader-materials

Collection of shader materials for three.js

ReadMe Card

Demo

 Demo Page

Demo page

Getting Started

Install

npm install MasatoMakino/threejs-shader-materials --save-dev

Import

threejs-shader-materials is composed of ES6 modules and TypeScript d.ts files.

At first, import classes,

import { HexGridMaterial } from "threejs-shader-materials";

and set material.

const geo = new SphereGeometry(10, 64, 64);
const mat = new HexGridMaterial();
const mesh = new Mesh(geo, mat);
scene.add(mesh);

API documents

API documents

License

MIT licensed.

0.0.7

2 years ago

0.0.6

2 years ago

0.0.1

2 years ago

0.5.0

2 years ago