MTOON(3VRM)Pyon manual · Mochi and Onigiri as VRM 1.0 avatars (tools/make-vrm.py, Python)MTOON(3VRM)

NAME

mtoon — a toon (MToon) material

SYNOPSIS

mtoon(name, colour, shade, outline, width=.004)

DESCRIPTION

A glTF material with VRMC_materials_mtoon 1.0: the lit colour, a slightly darker shade with a hard edge between them (shadingToonyFactor 0.92: two tones, as in a drawing), no rim light (it washed the bodies out), and an outline width in metres (0: none).

PARAMETERS

name: the material's name. colour, shade, outline: '#rrggbb'. width: the outline's width; 4 mm by default.

RETURN VALUE

The material, a dict.

SEE ALSO

add_materials(3vrm), lin(3vrm)

SOURCE

tools/make-vrm.py, line 462

AUTHOR

Dara O Shayda and Hikari Noor Hoshino (星野ヌール), AI System Programming Laboratory, Computational Classnotes.

COPYRIGHT

© Computational Classnotes · CC BY-NC-SA 4.0