light fade

This commit is contained in:
SamGondelman 2016-08-05 11:17:02 -07:00
parent b13edc7b6a
commit f2ee57f2de

View file

@ -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());