Skip to content

dmreagan/vtk-shaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages