summaryrefslogtreecommitdiffstats
path: root/src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp')
-rw-r--r--src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp b/src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp
index 221f329..cf276e7 100644
--- a/src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp
+++ b/src/runtimerender/Qt3DSRenderDefaultMaterialShaderGenerator.cpp
@@ -493,7 +493,7 @@ struct SShaderGenerator : public IDefaultMaterialShaderGenerator
"specularColor * kggxGlossyDefaultMtl( "
<< "world_normal, tangent, -" << inLightDir << ".xyz, view_vector, "
<< inLightSpecColor
- << ".rgb, vec3(material_specular.xyz), roughnessAmount, "
+ << ".rgb, vec3(material_specular.xyz), "
"roughnessAmount ).rgb;"
<< Endl;
} break;
@@ -504,8 +504,8 @@ struct SShaderGenerator : public IDefaultMaterialShaderGenerator
"specularColor * wardGlossyDefaultMtl( "
<< "world_normal, tangent, -" << inLightDir << ".xyz, view_vector, "
<< inLightSpecColor
- << ".rgb, vec3(material_specular.xyz), roughnessAmount, "
- "roughnessAmount ).rgb;"
+ << ".rgb, vec3(material_specular.xyz), "
+ "roughnessAmount).rgb;"
<< Endl;
} break;
default: