Fade out specularity according to light fade settings as well

esm4-texture
Alexei Kotov 7 months ago
parent f87aa02390
commit debc37d93a

@ -1160,6 +1160,7 @@ namespace SceneUtil
auto* light = transform.mLightSource->getLight(frameNum);
light->setDiffuse(light->getDiffuse() * fade);
light->setSpecular(light->getSpecular() * fade);
transform.mLightSource->setLastAppliedFrame(frameNum);
}

Loading…
Cancel
Save