Commit b20f7e9f authored by Martin Heistermann's avatar Martin Heistermann
Browse files

For color-coded rendering, unlit seems most sensible.

parent 4f3009d1
...@@ -765,8 +765,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getCellRenderObjects(IRenderer* _renderer, GL ...@@ -765,8 +765,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getCellRenderObjects(IRenderer* _renderer, GL
{ {
ro.shaderDesc.vertexColors = true; ro.shaderDesc.vertexColors = true;
ro.shaderDesc.numLights = -1; ro.shaderDesc.numLights = -1;
ro.shaderDesc.shadeMode = SG_SHADE_GOURAUD; ro.shaderDesc.shadeMode = SG_SHADE_UNLIT;
} }
else if (_drawMode & drawModes_.cellsSmoothShaded) else if (_drawMode & drawModes_.cellsSmoothShaded)
{ {
......
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