Forum Discussion
Scarygami
5 years agoHonored Guest
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.
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
- ScarygamiHonored GuestI was able to disable shadows by adding the following line in
OvrAvatarRenderComponent.cs > CreateSkinnedMesh
renderer.shadowCastingMode = UnityEngine.Rendering.ShadowCastingMode.Off;
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 5 years ago
- 4 years ago
- 4 months ago