ShaderNodeTexSky(ShaderNode)#

base classes — bpy_struct, Node, NodeInternal, ShaderNode

class bpy.types.ShaderNodeTexSky(ShaderNode)#

Generate a procedural sky texture

air_density#

Density of air molecules. • 0 - No air. • 1 - Clear day atmosphere. • 2 - Highly polluted day

Type:

float in [0, 10], default 1.0

altitude#

Height from sea level

Type:

float in [0, 60000], default 0.0

color_mapping#

Color mapping settings

Type:

ColorMapping, (readonly, never None)

dust_density#

Density of dust molecules and water droplets. • 0 - No dust. • 1 - Clear day atmosphere. • 5 - City like atmosphere. • 10 - Hazy day

Type:

float in [0, 10], default 1.0

ground_albedo#

Ground color that is subtly reflected in the sky

Type:

float in [0, 1], default 0.0

ozone_density#

Density of ozone layer. • 0 - No ozone. • 1 - Clear day atmosphere. • 2 - City like atmosphere

Type:

float in [0, 10], default 1.0

sky_type#

Which sky model should be used

  • PREETHAM Preetham – Preetham 1999.

  • HOSEK_WILKIE Hosek / Wilkie – Hosek / Wilkie 2012.

  • NISHITA Nishita – Nishita 1993 improved.

Type:

enum in [‘PREETHAM’, ‘HOSEK_WILKIE’, ‘NISHITA’], default ‘PREETHAM’

sun_direction#

Direction from where the sun is shining

Type:

mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 1.0)

sun_disc#

Include the sun itself in the output

Type:

boolean, default True

sun_elevation#

Sun angle from horizon

Type:

float in [-inf, inf], default 1.5708

sun_intensity#

Strength of sun

Type:

float in [0, 1000], default 1.0

sun_rotation#

Rotation of sun around zenith

Type:

float in [-inf, inf], default 0.0

sun_size#

Size of sun disc

Type:

float in [0, 1.5708], default 0.00951204

texture_mapping#

Texture coordinate mapping settings

Type:

TexMapping, (readonly, never None)

turbidity#

Atmospheric turbidity

Type:

float in [1, 10], default 0.0

classmethod is_registered_node_type()#

True if a registered node type

Returns:

Result

Return type:

boolean

classmethod input_template(index)#

Input socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod output_template(index)#

Output socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#