CompositorNodeTonemap(CompositorNode)

base classes — bpy_struct, Node, NodeInternal, CompositorNode

class bpy.types.CompositorNodeTonemap(CompositorNode)
adaptation

If 0, global; if 1, based on pixel intensity

Type

float in [0, 1], default 0.0

contrast

Set to 0 to use estimate from input image

Type

float in [0, 1], default 0.0

correction

If 0, same for all channels; if 1, each independent

Type

float in [0, 1], default 0.0

gamma

If not used, set to 1

Type

float in [0.001, 3], default 0.0

intensity

If less than zero, darkens image; otherwise, makes it brighter

Type

float in [-8, 8], default 0.0

key

The value the average luminance is mapped to

Type

float in [0, 1], default 0.0

offset

Normally always 1, but can be used as an extra control to alter the brightness curve

Type

float in [0.001, 10], default 0.0

tonemap_type
Type

enum in [‘RD_PHOTORECEPTOR’, ‘RH_SIMPLE’], default ‘RH_SIMPLE’

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

update()
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