[vtkusers] How to add custom shaders in OpenGL2 backend

gpwright gpwright at gmail.com
Wed Sep 24 15:51:56 EDT 2014


FYI I encountered the issue described on this thread.  I addressed it by
subclassing vtkOpenGLPolyDataMapper and overriding the BuildShader function
to substitute in my own shader code.  Works fine...

Geoff




--
View this message in context: http://vtk.1045678.n5.nabble.com/How-to-add-custom-shaders-in-OpenGL2-backend-tp5728201p5728866.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list