summaryrefslogtreecommitdiffstats
path: root/src/render/lights/qpointlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/lights/qpointlight.cpp')
-rw-r--r--src/render/lights/qpointlight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/lights/qpointlight.cpp b/src/render/lights/qpointlight.cpp
index 1936ef4f4..c94078995 100644
--- a/src/render/lights/qpointlight.cpp
+++ b/src/render/lights/qpointlight.cpp
@@ -64,7 +64,7 @@ namespace Qt3DRender {
QPointLightPrivate::QPointLightPrivate()
: QAbstractLightPrivate(QAbstractLight::PointLight)
{
- m_shaderData->setProperty("constantAttenuation", 0.0f);
+ m_shaderData->setProperty("constantAttenuation", 1.0f);
m_shaderData->setProperty("linearAttenuation", 0.0f);
m_shaderData->setProperty("quadraticAttenuation", 0.0f);
}