提供了两个内置轮廓对比度着色器。轮廓对比度着色器通过比较轮廓存储着色器在采样期间存储的信息来指定应该形成轮廓的位置。这两个轮廓对比度着色器被设计为分别与上述标准和简单轮廓存储着色器成对存在。
"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")
如果仅对象的轮廓需要具有轮廓(并且它们应仅需要简单轮廓),此着色器可用于同 contour_store_function_simple 一起进行快速轮廓计算。此着色器无参数。
"contour_contrast_function_simple" ()
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.