mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 06:44:06 +02:00
light fade
This commit is contained in:
parent
b13edc7b6a
commit
f2ee57f2de
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ void RenderableLightEntityItem::render(RenderArgs* args) {
|
|||
|
||||
glm::vec3 color = toGlm(getXColor());
|
||||
|
||||
float intensity = getIntensity();
|
||||
float intensity = getIntensity() * Interpolate::calculateFadeRatio(_fadeStartTime);
|
||||
float falloffRadius = getFalloffRadius();
|
||||
float exponent = getExponent();
|
||||
float cutoff = glm::radians(getCutoff());
|
||||
|
|
Loading…
Reference in a new issue