# TextureNormalToColor#

(Normal To Color)

Go to User page.

## Description#

Convert a normal to a color

## Public Attributes#

Type Name Visual Hint Description
long normal_mode VISUAL_HINT_DEFAULT Define which geometric normal to use to compute the bump.
long space_mode VISUAL_HINT_DEFAULT Define how the normal map has to be interpreted. In tangent space mode, the map defines the normal locally on the surface of objects. In object space mode, the map defines the absolute coordinates of the normals inside the object space.

## Inherited Public Attributes#

Type Name Visual Hint Description
bool pass_through VISUAL_HINT_DEFAULT If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
string master_input VISUAL_HINT_TAG Name of the attribute that will be used as output if Pass Through is enabled.
bool invert VISUAL_HINT_DEFAULT If checked, the texture is inverted.
double opacity VISUAL_HINT_PERCENTAGE Set the opacity of the texture.

## CID#

class "TextureNormalToColor" "Texture" {
#version 0.9
icon "../icons/object_icons/texture_normal_to_color.iconrc"
category "/Texture/Color"
doc "Convert a normal to a color"
long "normal_mode" {
doc "Define which geometric normal to use to compute the bump."
preset "Flat" "0"
preset "Smooth" "1"
value 1
}
long "space_mode" {
doc "Define how the normal map has to be interpreted. In tangent space mode, the map defines the normal locally on the surface of objects. In object space mode, the map defines the absolute coordinates of the normals inside the object space."
preset "Tangent" "0"
preset "Object" "1"
value 0
}
}