Okay so looking through the Vtk code a bit i see that that shaders are generated via the vtkShaderProgram::Substitute command. Is there some documentation for this or do we have to go through the source code to work out what's going on? -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html