天空纹理着色器节点

../../../_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.

Sun Disc

Enable/Disable sun disc lighting.

Sun Size

Angular diameter of the sun disc (in degrees).

Sun Intensity

Multiplier for sun disc lighting.

Sun Elevation

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

Sun Rotation

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

Altitude

The distance in kilometers from sea level to the location of the camera. For example, if the camera is placed on a beach a value of 0 should be used. However, if the camera is in the cockpit of a flying airplane 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).

Air

Density of air molecules.

  • 0 no air

  • 1 clear day atmosphere

  • 2 highly polluted day

Dust

Density of dust and water droplets.

  • 0 no dust

  • 1 clear day atmosphere

  • 5 city like atmosphere

  • 10 hazy day

Ozone

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