A minor issue. Try this demo. Select the directional light in the Inspector and toggle "Cast Shadow" off. The shadow is still cast, it just doesn't update.
I believe you want to add a toggle for "renderer.shadowMapEnabled" to be on or off to better control shadows.
A minor issue. Try this demo. Select the directional light in the Inspector and toggle "Cast Shadow" off. The shadow is still cast, it just doesn't update.
I believe you want to add a toggle for "renderer.shadowMapEnabled" to be on or off to better control shadows.