Actions
Feature #318
closedAutomatic light attenuation calculation option
Description
A checkbox in the light dialog box to automatically calculate light attenuation from light range should be useful for those who don't know the standard light attenuation formula:
L->setAttenuation(Range, 1.0f, 4.5/Range, 75.0f/(Range*Range));
                 /Range/const/  linear  / quadratic         /
This is a good and common approximation.
Actions