Add vector light support to forward materials.

This commit is contained in:
Areloch 2019-07-22 00:16:58 -05:00
parent 38b0d0f1fe
commit ebe2c2dead
11 changed files with 96 additions and 4 deletions

View file

@ -391,6 +391,10 @@ void AdvancedLightManager::setLightInfo( ProcessedMaterial *pmat,
lsc->mLightConfigDataSC,
lsc->mLightSpotDirSC,
lsc->mLightSpotParamsSC,
lsc->mHasVectorLightSC,
lsc->mVectorLightDirectionSC,
lsc->mVectorLightColorSC,
lsc->mVectorLightBrightnessSC,
shaderConsts );
// Static