yes, I used vtkOpenGLMapper->SetxxxShadercode(), but where to get the ShaderProgram?
and the ShaderProgram object belongs to which part? the mapper or the actor? or even the renderer?
yes, I used vtkOpenGLMapper->SetxxxShadercode(), but where to get the ShaderProgram?
and the ShaderProgram object belongs to which part? the mapper or the actor? or even the renderer?