[vtkusers] Multi-texturing??

Patrick Bergeron pbergeron at spiria.com
Thu Oct 25 11:02:01 EDT 2018


Hi.


I am trying to use a second texture in a fragment shader.


vtkActor::SetTexture(vtkTexture*) seems to only take a single texture image and no way to add more.


vtkActor::GetProperty()->SetTexture(textureUnit, vtkTexture*) is deprecated and shows an error in an output window, and doesn't seem to pass any other texture variable to the shader.


I've looked and looked, and I'm probably blind, but how do I do this seemingly simple task?


Thanks.

Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20181025/1f20b67f/attachment.html>


More information about the vtkusers mailing list