3 lights ( + material and shader injection) implemented and tested on ios, android and rasberrypi

Lot of changes. Please review
Are the inputs and outputs of this function documented anywhere?