diff --git a/simgear/scene/tgdb/pt_lights.cxx b/simgear/scene/tgdb/pt_lights.cxx index 3bf9d5bc..bd4c979f 100644 --- a/simgear/scene/tgdb/pt_lights.cxx +++ b/simgear/scene/tgdb/pt_lights.cxx @@ -109,6 +109,7 @@ Effect* getLightEffect(float size, const Vec3& attenuation, params->getNode("min-size",true)->setValue(minSize); params->getNode("max-size",true)->setValue(maxSize); params->getNode("cull-face",true)->setValue(directional ? "back" : "off"); + params->getNode("directional",true)->setValue(directional); effect = makeEffect(effectProp, true, options);