Implemented dynamic arrays of directional lights