Skip to content

Take local lights into account for MToon #1131

@JulianGro

Description

@JulianGro

Currently, MToon only takes the key light into account.

overte-snap-by-JulianGro-on-2024-09-03_22-26-20
Very intense local light between the cube shape and the MToon avatar.

I talked a bit to Lyuma on the V-Sekai Discord, and apparently, both the reference implementation in UniVRM and Lyuma's implementation in Godot take local lights into account. Both those implementations are flawed in the sense that the local lights only add light, instead of also changing the lighting direction, so we could even improve on that.

According to HifiExperiments, we wouldn't even run into the issue that different body parts could end up with different shading, like it commonly happens on VRChat.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions