ShaderNodeVolumeScatter(ShaderNode)#

base classes — bpy_struct, Node, NodeInternal, ShaderNode

class bpy.types.ShaderNodeVolumeScatter(ShaderNode)#

Scatter light as it passes through the volume, often used to add fog to a scene

phase#

Phase function for the scattered light

  • HENYEY_GREENSTEIN Henyey-Greenstein – Henyey-Greenstein, default phase function for the scattering of light.

  • FOURNIER_FORAND Fournier-Forand – Fournier-Forand phase function, used for the scattering of light in underwater environments.

  • DRAINE Draine – Draine phase functions, mostly used for the scattering of light in interstellar dust.

  • RAYLEIGH Rayleigh – Rayleigh phase function, mostly used for particles smaller than the wavelength of light, such as scattering of sunlight in earth’s atmosphere.

  • MIE Mie – Approximation of Mie scattering in water droplets, used for scattering in clouds and fog.

Type:

enum in [‘HENYEY_GREENSTEIN’, ‘FOURNIER_FORAND’, ‘DRAINE’, ‘RAYLEIGH’, ‘MIE’], default ‘HENYEY_GREENSTEIN’

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#