Contour Store Shaders

Contour store shaders decide what kind of information to store at an image sample location. This information allows the contour contrast shader to decide whether two samples are different enough to place a contour line between them. The contour store shaders have no shader parameters.

    "contour_store_function" ()
    "contour_store_function_simple" ()

The contour_store_function shader returns the intersection point, normal, material tag, object label (tag), triangle index, color, and the refraction and reflection level.

The contour_store_function_simple contour store function only stores the material tag. It can be used for very fast contour computations if only the outlines of objects need to have contours (and if they should only have simple contours).

Copyright (©) 1986-2009 by mental images GmbH