Skip to main content
New Participant
November 5, 2020

LocalAvatar hands - disable shadow casting

Is there a way to disable shadows being cast from the hands included in LocalAvatar?
Since there's no associated Mesh renderer I can't just simply set "Cast Shadows" to Off, and there doesn't seem to be an option in the Ovr Avatar script.
    This topic has been closed for replies.

    1 reply

    ScarygamiAuthor
    New Participant
    November 6, 2020
    I was able to disable shadows by adding the following line in
    OvrAvatarRenderComponent.cs > CreateSkinnedMesh

    renderer.shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.Off;