Closed tantzygames closed 6 years ago
Thanks a lot for this, I should definitely look into merging it.
I've included the code in the improvements branch. It took me a while because I wanted it to include the loading and unloading of the lighting scene, also applying the shadowmask correctly at runtime required a few tweaks.
shadowmask now in master but done through another branch because of some other changes I wanted to make. Thanks for your contribution 👍
FYI I mentioned you in the readme file in the "contributions" section because I didn't know how to make you appear in contributors.
Thanks, much appreciated!
This hasn't been fully tested, but it works in my scenes with shadowmasks. I haven't tested for scenes without shadowmasks so I'm not sure if my checks will work (I couldn't find a way to access the Shadowmask setting directly).