ShaderNodeNormalMap(ShaderNode)

base classes — bpy_struct, Node, NodeInternal, ShaderNode

class bpy.types.ShaderNodeNormalMap(ShaderNode)

Generate a perturbed normal from an RGB normal map image. Typically used for faking highly detailed surfaces

base

Base surface that the normal map is applied relative to, when displacement is used (default 'DISPLACED')

  • ORIGINAL Original Base – Apply normal map relative to the smooth undisplaced surface, for normal maps that match the displacement map.

  • DISPLACED Displaced Base – Apply normal map relative to the displaced surface, for normal maps that are to be applied in addition to the displacement map.

Type:

Literal[‘ORIGINAL’, ‘DISPLACED’]

convention

OpenGL or DirectX (default 'OPENGL')

  • OPENGL OpenGL – Normal map uses OpenGL convention, with Y axis in the green channel pointing up.

  • DIRECTX DirectX – Normal map uses DirectX convention, with Y axis in the green channel pointing down.

Type:

Literal[‘OPENGL’, ‘DIRECTX’]

space

Space of the input normal (default 'TANGENT')

  • TANGENT Tangent Space – Tangent space normal mapping.

  • OBJECT Object Space – Object space normal mapping.

  • WORLD World Space – World space normal mapping.

  • BLENDER_OBJECT Blender Object Space – Object space normal mapping, compatible with Blender render baking.

  • BLENDER_WORLD Blender World Space – World space normal mapping, compatible with Blender render baking.

Type:

Literal[‘TANGENT’, ‘OBJECT’, ‘WORLD’, ‘BLENDER_OBJECT’, ‘BLENDER_WORLD’]

uv_map

UV Map for tangent space maps (default “”, never None)

Type:

str

classmethod is_registered_node_type()

True if a registered node type

Returns:

Result

Return type:

bool

classmethod input_template(index)

Input socket template

Parameters:

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

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod output_template(index)

Output socket template

Parameters:

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

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions