/vtk-shaders

Simple example of using shaders with VTK

Primary LanguagePython

vtk-shaders

Two simple examples of applying custom shader code to a VTK object. These examples demonstrate two methods of customizing shaders with the vtkOpenGLPolyDataMapper. The first method modifies the existing shader using AddShaderReplacement. The second method injects a custom shader using SetVertexShaderCode and SetFragmentShaderCode. Requires VTK >=7.0.

Resources

This example borrows from:

See also: