StressLevelZero / MarrowSDK-Legacy

MIT License
288 stars 39 forks source link

"Do not render" list for avatars #57

Closed EikoBiko closed 1 year ago

EikoBiko commented 1 year ago

Suggestion here!

A "do not render" list for avatars would be extremely helpful for allowing the player to not see the geometry of their own face, which is a common issue that is often distracting and results users placing view positions far in front of the model's actual eyes.

The idea is: the user supplies an array of SkinnedMeshRenderers that do not render for the player in first person view, but will render in reflections or in third person views.

Another solution may be just shrinking the head bone to 0, similar to how VRChat does it, but this may not work if colliders are bound to this bone.

MaysiesDaisies commented 1 year ago

A current method to achieving this is by separating the head mesh (and anything above the neck) and placing the separate mesh under the Hair Mesh list in the avatar component.

image

The head mesh list for some reason does not occlude the mesh properly.

Greased-Scotsman commented 1 year ago

We have heard this suggestion. Thanks for the feedback!