Commit 319430a9 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fix-render-warning' into 'master'

Avoid render warning - hiddenline background faces are not lit.

See merge request !23
parents 077bfe4b fbaca2d6
......@@ -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