Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Scarygami's avatar
Scarygami
Honored Guest
5 years ago

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.

1 Reply

Replies have been turned off for this discussion
  • I was able to disable shadows by adding the following line in
    OvrAvatarRenderComponent.cs > CreateSkinnedMesh

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