Background
Version: 7.44.1
Engine: any
Browser: any
Desc
There is currently no doNotSerialize option for a ShadowGenerator, and a ShadowGenerator would be serialized even if the light of it marked with doNotSerialize.
Expected
- Add a
doNotSerializeoption toShadowGenerator, and skip serialization if it’s true - A
ShadowGeneratorshould not be serialized if its light is marked withdoNotSerialize. (https://playground.babylonjs.com/#ZBSXNP#1)