This script simulates global illumination. Based on the SkyDome principle - it allows you to choose an object as a light emmiter - it will hold one light on each of its vertices. Light color - intensity and common parameters depend either on the value of the softselection you made on the vertices - or on the diffuse map used by the support.