vrm-specification
vrm-specification copied to clipboard
Lit Shader support?
Hi there,
I would like to know if there are any plans to support Lit shaders. It seems like the current format is heavily bias toward anime avatars using toon shading. What happens if I want my avatar to be influenced by light?
Thanks!
You can use glTF's PBR materials without any extensions. https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#reference-material
p.s.
VRMC_materials_mtoon extension defines as the lit shaded toon material.
You can use PBR material that glTF supports in VRM.
for VRM 0.0,
You can set USE_GLTF_SHADERS to /extensions/VRM/materialProperties/{i}/shader to use materials that glTF supports.
for VRM1.0,
if you don't use VRMC_materials_mtoon extension to a material that would be assumed as an ordinary glTF PBR shader.