This example computes per-pixel lighting (only the diffuse contribution is computed) on a sub-scene graph.
Per-pixel lighting gives better lighting quality than per-vertex lighting.
A dialog window allows you to select which shading language to use when the example is executed.
SoShaderObject SoShaderProgram SoShaderParameter SoVertexShader SoFragmentShader