Skip to content
Snippets Groups Projects
Commit fbaca2d6 authored by Martin Heistermann's avatar Martin Heistermann
Browse files

Avoid render warning - hiddenline background faces are not lit.

parent 077bfe4b
No related branches found
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