thechargedneutron / vtk-shaders

Simple example of using shaders with VTK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Simple example of using shaders with VTK


Languages

Language:Python 100.0%