Patrick Bergeron
2018-10-25 15:02:01 UTC
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
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