]> git.mxchange.org Git - simgear.git/commitdiff
Remove max density 10000m for surface lights.
authorStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Thu, 22 Oct 2015 19:28:37 +0000 (20:28 +0100)
committerStuart Buchanan <stuart_d_buchanan@yahoo.co.uk>
Thu, 22 Oct 2015 19:28:37 +0000 (20:28 +0100)
simgear/scene/tgdb/SGTileDetailsCallback.hxx

index fbee88f877e335fd87c6cf163fc6271e05ff3bbb..a2af1b2e30b38f98466a280061fbb448eaeefe03 100644 (file)
@@ -789,11 +789,6 @@ public:
             float coverage = mat->get_light_coverage();
             if (coverage <= 0)
                 continue;
-            if (coverage < 10000.0) {
-                SG_LOG(SG_INPUT, SG_ALERT, "Light coverage is "
-                << coverage << ", pushing up to 10000");
-                coverage = 10000;
-            }
                         
             int texIndex = matTris[i].getTextureIndex();