diff --git a/src/runtimerender/qdemonrendercustommaterialshadergenerator.cpp b/src/runtimerender/qdemonrendercustommaterialshadergenerator.cpp
index 7fc9e06968e6ccab0d94a9b6f6cb0432671e4360..5921837781887e7f4bce512a607ebedcd5069cb4 100644
--- a/src/runtimerender/qdemonrendercustommaterialshadergenerator.cpp
+++ b/src/runtimerender/qdemonrendercustommaterialshadergenerator.cpp
@@ -443,7 +443,7 @@ struct QDemonShaderGenerator : public QDemonMaterialShaderGeneratorInterface
 
     virtual QDemonRef<QDemonShaderLightProperties> setLight(const QDemonRef<QDemonRenderShaderProgram> &inShader,
                                                             qint32 lightIdx,
-                                                            qint32 shadeIdx,
+                                                            qint32 /*shadeIdx*/,
                                                             const QDemonRenderLight *inLight,
                                                             QDemonShadowMapEntry *inShadow,
                                                             qint32 shadowIdx,
@@ -458,6 +458,7 @@ struct QDemonShaderGenerator : public QDemonMaterialShaderGeneratorInterface
         }
         if (theLightEntry == nullptr) {
             // create a new name
+#if 0
             QString lightName;
             if (inLight->m_lightType == QDemonRenderLight::Type::Area)
                 lightName = QStringLiteral("arealights");
@@ -466,6 +467,7 @@ struct QDemonShaderGenerator : public QDemonMaterialShaderGeneratorInterface
             char buf[16];
             qsnprintf(buf, 16, "[%d]", int(shadeIdx));
             lightName.append(QString::fromLocal8Bit(buf));
+#endif
 
             QDemonRef<QDemonShaderLightProperties> theNewEntry(
                     new QDemonShaderLightProperties(QDemonShaderLightProperties::createLightEntry(inShader)));