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
doNotSerialize
option toShadowGenerator
, and skip serialization if it’s true - A
ShadowGenerator
should not be serialized if its light is marked withdoNotSerialize
. (https://playground.babylonjs.com/#ZBSXNP#1)