@galacean/engine-toolkit-custom-material

v1.3.9
The `Custom Material` toolkit provides a variety of special materials, such as infinite grids and planar shadows, etc. However, the material of this warehouse will either rely on the control of the `Script`, or use the `multi shader pass` to provide a fac

Custom Material

The Custom Material toolkit provides a variety of special materials, such as infinite grids and planar shadows, etc. However, the material of this warehouse will either rely on the control of the Script, or use the multi shader pass to provide a factory class, or rely on special Mesh data. So each material is used in a different way.

Due to the particularity of various materials, a README document is provided under each material folder. For the principle and usage of each material, please refer to the README document under each folder.

Features

npm

The Custom Material is published on npm with full typing support. To install, use:

npm install @galacean/engine-toolkit-custom-material

This will allow you to import package entirely using:

import * as TOOLKIT from "@galacean/engine-toolkit-custom-material";

or individual classes using:

import { PlanarShadowShaderFactory } from "@galacean/engine-toolkit-custom-material";

Links

License

The engine is released under the MIT license. See LICENSE file.

npm i @galacean/engine-toolkit-custom-material

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 9/24/2024

Downloads