There are two built-in contour contrast shaders. Contour contrast shaders specify where there should be a contour by comparing the information stored by the contour store shader during sampling. The two contour contrast shaders are designed to be paired with the standard and simple contour store shaders described above, respectively.
"contour_contrast_function_levels" (
scalar "zdelta",
scalar "ndelta",
boolean "diff_mat",
boolean "diff_label",
boolean "diff_index",
boolean "contrast",
integer "min_level",
integer "max_level"
)
This shader can be used for very fast contour computations along with contour_store_function_simple if only the outlines of objects need to have contours (and if they should only have simple contours). This shader has no parameters.
"contour_contrast_function_simple" ()
Copyright (©) 1986-2008 by mental images GmbH