此着色器执行三种类型的模拟,这些模拟可以一起使用,也可以单独使用:
支持以下散射功能:
color "misss_physical" (
color "material",
color "transmission",
scalar "ior",
vector "absorption_coeff",
vector "scattering_coeff",
scalar "scale_conversion",
scalar "scattering_anisotropy",
scalar "depth",
integer "max_samples",
integer "max_photons",
scalar "max_radius",
boolean "approx_diffusion",
boolean "approx_single_scatter",
boolean "approx_multiple_scatter",
array light "lights",
integer "mode")
该着色器为光学特性和调整提供参数。该着色器必须同时作为材质着色器和光子着色器进行应用。
material "misss_physical_phen" (
color "material",
color "transmission",
scalar "ior",
vector "absorption_coeff",
vector "scattering_coeff",
scalar "scale_conversion",
scalar "scattering_anisotropy",
scalar "depth",
integer "max_samples",
integer "max_photons",
scalar "max_radius",
boolean "approx_diffusion",
boolean "approx_single_scatter",
boolean "approx_multiple_scatter",
array light "lights",
integer "mode"
)
version 4
这是一个与材质和光子窗口进行适当着色器连接的材质现象。其参数和行为与 misss_physical 相同。
Copyright © 1986, 2015 NVIDIA ARC GmbH. All rights reserved.