天空纹理着色器节点

../../../_images/render_shader-nodes_textures_sky_node.png

天空纹理着色器节点。

天空纹理着色器 节点用于添加程序天空纹理。

输入

矢量

纹理坐标到样本纹理;如果接口未连接,则默认生成纹理坐标。

属性

天空类型

使用的天空模型。

  • Preetham

    Based on the 1999 paper by Preetham et al.

    Hosek/Wilkie

    Based on the 2012 paper by Hosek and Wilkie.

    Nishita

    Improved version of the 1993 model by Nishita et al.

太阳方向

太阳方位矢量。

浑浊度

大气浑浊度。

  • 值设定为2:类似北极的天空

  • 值设定为3:晴空万里

  • 值设定为6:温暖潮湿的天气

  • 值设定为10:雾天

地面反照率

Amount of light reflected from the planet surface back into the atmosphere.

日轮

Enable/Disable sun disc lighting.

太阳尺寸

Angular diameter of the sun disc (in degrees).

太阳强度

Multiplier for sun disc lighting.

太阳高度

Rotation of the sun from the horizon (in degrees).

太阳旋转

Rotation of the sun around the zenith (in degrees).

海拔

The distance from sea level to the location of the camera. For example, if the camera is placed on a beach then a value of 0 should be used. However, if the camera is in the cockpit of a flying airplane then a value of 10 km will be more suitable. Note, this is limited to 60 km because the mathematical model only accounts for the first two layers of the earth’s atmosphere (which ends around 60 km).

空气

Density of air molecules.

  • 0 no air

  • 1 clear day atmosphere

  • 2 highly polluted day

灰尘

Density of dust and water droplets.

  • 0 no dust

  • 1 clear day atmosphere

  • 5 city like atmosphere

  • 10 hazy day

臭氧

Density of ozone molecules; useful to make the sky appear bluer.

  • 0 no ozone

  • 1 clear day atmosphere

  • 2 city like atmosphere

输出

颜色

输出颜色纹理。

示例

../../../_images/render_shader-nodes_textures_sky_example.jpg

天空纹理效果。

See also

太阳位置(Sun Position) add-on