+// // generate lighting
+// if ( material == "Urban" || material == "BuiltUpCover" ) {
+// gen_random_surface_points( leaf, lights, 100000.0 );
+// } else if ( material == "EvergreenBroadCover" ||
+// material == "Default" || material == "Island" ||
+// material == "SomeSort" ||
+// material == "DeciduousBroadCover" ||
+// material == "EvergreenNeedleCover" ||
+// material == "DeciduousNeedleCover" ) {
+// gen_random_surface_points( leaf, lights, 10000000.0 );
+// } else if ( material == "Road") {
+// gen_random_surface_points( leaf, lights, 10000.0);
+// } else if ( material == "MixedForestCover" ) {
+// gen_random_surface_points( leaf, lights, 5000000.0 );
+// } else if ( material == "WoodedTundraCover" ||
+// material == "BareTundraCover" ||
+// material == "HerbTundraCover" ||
+// material == "MixedTundraCover" ||
+// material == "Marsh" ||
+// material == "HerbWetlandCover" ||
+// material == "WoodedWetlandCover" ) {
+// gen_random_surface_points( leaf, lights, 20000000.0 );
+// } else if ( material == "ShrubCover" ||
+// material == "ShrubGrassCover" ) {
+// gen_random_surface_points( leaf, lights, 4000000.0 );
+// } else if ( material == "GrassCover" ||
+// material == "SavannaCover" ) {
+// gen_random_surface_points( leaf, lights, 4000000.0 );
+// } else if ( material == "MixedCropPastureCover" ||
+// material == "IrrCropPastureCover" ||
+// material == "DryCropPastureCover" ||
+// material == "CropGrassCover" ||
+// material == "CropWoodCover" ) {
+// gen_random_surface_points( leaf, lights, 2000000.0 );
+// }