Adds preferences for limiting the maximum number of local lights, as well as distance-based fading of local lights.

This commit is contained in:
Areloch 2020-08-02 23:16:03 -05:00
parent 9e792845f7
commit 7b02d81b54
4 changed files with 115 additions and 2 deletions

View file

@ -54,6 +54,7 @@ LightInfo::LightInfo()
mDynamicRefreshFreq( 8 ),
mPriority( 1.0f ),
mScore( 0.0f ),
mFadeAmount(1.0f),
mDebugRender( false )
{
}