Commit 30ba35cd authored by Matthias Möller's avatar Matthias Möller

use UNLIT shading

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16841 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 47c3d30c
......@@ -400,14 +400,14 @@ void QtWidgetNode::getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _s
// Set shading
ro.shaderDesc.vertexColors = false;
ro.shaderDesc.shadeMode = SG_SHADE_PHONG;
ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
ACG::SceneGraph::Material localMaterial;
localMaterial.baseColor(ACG::Vec4f(1.0, 1.0, 1.0, 1.0 ));
localMaterial.ambientColor(ACG::Vec4f(0.0, 0.0, 0.0, 0.5 ));
localMaterial.diffuseColor(ACG::Vec4f(0.0, 0.0, 0.0, 0.5 ));
localMaterial.specularColor(ACG::Vec4f(0.0, 0.0, 0.0, 0.5 ));
localMaterial.ambientColor(ACG::Vec4f(0.0, 0.0, 0.0, 1.0 ));
localMaterial.diffuseColor(ACG::Vec4f(0.0, 0.0, 0.0, 1.0 ));
localMaterial.specularColor(ACG::Vec4f(0.0, 0.0, 0.0, 1.0 ));
ro.setMaterial(&localMaterial);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment