Babylon.js - GLTF and Shadows

Babylon does a great job importing GLTF, right now that is my preferred workflow, create scene in Blender, export GLTF and then append in Babylon. However, Babylon is stingy with the resources, shadows are disabled by default.

Official Babylon.js Shadow Doc

Cornell Box Shadow Example

Green Box - Example of Babylon light with shadow parameters (I think I want to use GLTF lights though?)

I think this is the best approach, maybe take this function and put it in an external file? I'm always going to want shadows!