a method for real time global illumination in web gl