@pixiv/three-vrm
    Preparing search index...

    Interface MToonMaterialLoaderPluginOptions

    interface MToonMaterialLoaderPluginOptions {
        debugMode?: MToonMaterialDebugMode;
        materialType?: typeof Material;
        renderOrderOffset?: number;
        v0CompatShade?: boolean;
    }
    Index

    Properties

    Debug mode for the material. You can visualize several components for diagnosis using debug mode.

    See: MToonMaterialDebugMode

    'none'
    
    materialType?: typeof Material

    The type of the material that the loader plugin will generate.

    If you are using this plugin with WebGPU, set this to MToonNodeMaterial.

    MToonMaterial
    
    renderOrderOffset?: number

    This value will be added to renderOrder of every meshes who have MToonMaterial. The final renderOrder will be sum of this renderOrderOffset and renderQueueOffsetNumber for each materials.

    0
    
    v0CompatShade?: boolean

    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.

    false