Optional
options: MToonMaterialLoaderPluginOptionsDebug mode for the material. You can visualize several components for diagnosis using debug mode.
The type of the material that this plugin will generate.
If you are using this plugin with WebGPU, set this to MToonNodeMaterial.
Readonly
parserThis value will be added to renderOrder
of every meshes who have MaterialsMToon.
The final renderOrder will be sum of this renderOrderOffset
and renderQueueOffsetNumber
for each materials.
There is a line of the shader called "comment out if you want to PBR absolutely" in VRM0.0 MToon. When this is true, the material enables the line to make it compatible with the legacy rendering of VRM. Usually not recommended to turn this on.
Static
EXTENSION_Protected
_getMToon
A loader plugin of GLTFLoader for the extension
VRMC_materials_mtoon
.This plugin is for uses with WebGLRenderer by default. To use MToon in WebGPURenderer, set materialType to MToonNodeMaterial.
Example: to use with WebGPURenderer