TransformNormalMap
Overview
TransformNormalMap transforms an input normal from tangent to render space or the other way around. Normal map nodes always output in render space so this would be useful for transforming regular maps which would also require an RgbToNormalMap.
Attribute Reference
Normal attributes
input_normal
Vec3f bindable
default: [ 0, 0, 1 ]
input normal in either tangent or render space
General attributes
decode_input_normal
Bool
default: True
decode the input normal if it's in tangent space [0,1] -> [-1,1]
transform
Int enum
0 = “tangent to render” (default)
1 = “render to tangent”
transform to apply to the normals