Commit fbaca2d6 authored by Martin Heistermann's avatar Martin Heistermann

Avoid render warning - hiddenline background faces are not lit.

parent 077bfe4b
......@@ -837,7 +837,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getFaceRenderObjects(IRenderer* _renderer, GL
if (_drawMode & (drawModes_.hiddenLineBackgroundFaces))
ro.shaderDesc.numLights = -1;
ro.shaderDesc.shadeMode = SG_SHADE_FLAT;
ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
ro.shaderDesc.vertexColors = false;
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