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

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

  • NISHITA Nishita – Nishita 1993 improved.

Type:

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

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)

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 (str) – 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 (str) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions