[vtkusers] how to add a glsl shader program to an actor

charlie tian tian_mao_chun at 126.com
Fri Mar 22 06:54:29 EDT 2013


hi all,
      From the example </a>
<http://vtk.org/gitweb?p=VTK.git;a=blob;f=Charts/Core/Testing/Cxx/TestGLSL.cxx>
I have known how to use the shader in vtk,but I don't know how to add a
shader to a special actor(I have actors more than one).Does any one who can
help me? Thanks!



--
View this message in context: http://vtk.1045678.n5.nabble.com/how-to-add-a-glsl-shader-program-to-an-actor-tp5719567.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list