The shader_lut_doc object class inherits from IDLgrShader and contains the Filter method, just like the “Basic RGB Shader Object Class”. See that section for the base code or the example for the complete code. The one difference is this example uses the shader object VERTEX_PROGRAM_FILENAME and FRAGMENT_PROGRAM_FILENAME properties, which reference external shader program files for the vertex and fragment shader components.