This example displays the surface scalar and unnormalized gradient technique.

A combobox allows to choose between default lighting, surface scalar and unnormalized gradient mode. The two last modes disable lighting on almost uniform part of the dataset thus avoiding noisy lighting.