[#D3D-3234] Fixes shadowAtlas
[#D3D-3234] Fixes shadowAtlas

recent light and compiler refactors broke it.

cedricpinson/osgjs,jtorresfabra/osgjs,jtorresfabra/osgjs,cedricpinson/osgjs,cedricpinson/osgjs,jtorresfabra/osgjs