Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenFlipper-Free
Type-OpenVolumeMesh
Commits
b20f7e9f
Commit
b20f7e9f
authored
Feb 19, 2019
by
Martin Heistermann
Browse files
For color-coded rendering, unlit seems most sensible.
parent
4f3009d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObjectTypes/VolumeMeshObject/VolumeMeshNodeT_impl.hh
View file @
b20f7e9f
...
...
@@ -765,8 +765,7 @@ void VolumeMeshNodeT<VolumeMeshT>::getCellRenderObjects(IRenderer* _renderer, GL
{
ro
.
shaderDesc
.
vertexColors
=
true
;
ro
.
shaderDesc
.
numLights
=
-
1
;
ro
.
shaderDesc
.
shadeMode
=
SG_SHADE_GOURAUD
;
ro
.
shaderDesc
.
shadeMode
=
SG_SHADE_UNLIT
;
}
else
if
(
_drawMode
&
drawModes_
.
cellsSmoothShaded
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment