Skip to content

Conversation

@robertlong
Copy link
Contributor

Description:
Currently there is not an easy way to disable shadows for a scene. You must disable castShadow on all the lights in the scene or disable/remove all shadow components from the scene. In Hubs we added a enabled property to the shadow system in order to disable shadows globally on low-spec platforms.

Changes proposed:

  • Add enabled property to shadow system that forces renderer.shadowMap.enabled to be false if set to false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants