Skip to content
Snippets Groups Projects
Commit 319430a9 authored by Jan Möbius's avatar Jan Möbius
Browse files

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

Avoid render warning - hiddenline background faces are not lit.

See merge request !23
parents 077bfe4b fbaca2d6
Branches
No related tags found
1 merge request!23Avoid render warning - hiddenline background faces are not lit.
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment