On this page | |
Since | 19.0 |
概要
This is a lens shader component that generates the curvature offsets used to distort the Physical Lens Core node.
パラメータ
Curvature Type
レンズを歪ませる曲率のタイプ: “None”, “Quadratic”, “Cubic”, “Texture Map”。
Curvature Map
Curvature Type が“Texture Map”の時、ここには、そのテクスチャマップのパスを指定します。
このテクスチャ画像の値は、レンズのフェース上の指定された位置におけるレンズの単位“高さ”(平坦からの距離)を意味します。
黒が-1.0
で、白が1.0
を意味します。
Lens Curvature
Curvature Type が“None”でない時、ここには、適用する曲率の大きさを-1.0
から1.0
の範囲で指定します。
入力
x
y
aspect
出力
offset
An offset for the ray direction’s Z value. This can be used to manipulate the curvature of the lens as it changes the direction of the ray. A value of 1.0
results in the ray being shot horizontally from the camera, and a value of 0.0
results in no change. Negative values can be also be input and they will point rays closer to the center of the lens.
normal
The normal of the curvature, this is an optional input when using the Curvature Offset parameter. Some curvature distortions may have an easily calculated normal which can be used to better estimate chromatic aberration through the distorted lens.
NOTE: This is only used when refracting rays in chromatic aberration, it can be ignored if chromatic aberration is not in use.
See also |