Remove max density 10000m for surface lights.

This commit is contained in:
Stuart Buchanan 2015-10-22 20:28:37 +01:00
parent 00a20409f7
commit 1a752d28a4

View 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();