cancel
Showing results for 
Search instead for 
Did you mean: 

LocalAvatar hands - disable shadow casting

Scarygami
Honored Guest
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 1

Scarygami
Honored Guest
I was able to disable shadows by adding the following line in
OvrAvatarRenderComponent.cs > CreateSkinnedMesh

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