Skip to content
Snippets Groups Projects
Commit 79969286 authored by Lucas Gandel's avatar Lucas Gandel
Browse files

Support any texture with interpolate scalars

VTK !8186 added support for using multitexturing with
InterpolateScalarsBeforeMappingOn to allow for blending interpolated
scalars with texture coloring.
This commit extends this support to the "actortexture" and "albedoTex"
textures that can be respectively set with vtkActor::SetTexture() and
vtkActor::GetProperty()->SetBaseColorTexture().

When turning on InterpolateScalarsBeforeMapping, the mapper internally
creates a texture with the associated texture coordinates.
This commit adds a specific attribute for those tcoords to avoid overriding
the existing polydata tcoords.
parent eb73d7f4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment