Skip to content

TextureBumpMap

TextureBumpMap#

(Bump Map)

Go to User page.

Description#

Compute a bump normal.

Public Attributes#

Type Name Visual Hint Description
double input VISUAL_HINT_DISTANCE Input texture from which is computed the normal. The value controls the intensity of the bump.
long normal_mode VISUAL_HINT_DEFAULT Define which geometric normal to use to compute the bump.

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 "TextureBumpMap" "Texture" {
    #version 0.9
    icon "../icons/object_icons/texture_bump_map.iconrc"
    category "/Texture/Normal"
    doc "Compute a bump normal."
    attribute_group "input" {
        distance "input" {
            doc "Input texture from which is computed the normal. The value controls the intensity of the bump."
            texturable yes
            animatable yes
            value 1
        }
        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 in which space the bump has to be computed. In texture space mode, the bump is computed by offsetting on the texture. In tangent space mode, the bump is computed by offsetting on the surface of the object. Texture space is faster but doesn\'t work well with implicit projections and 3D textures."
            hidden yes
            preset "Texture" "0"
            preset "Tangent" "1"
            value 0
        }
    }
    set "master_input" {
        private no
        hidden no
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range no 0.0 1
        ui_range no 0.0 1
        dg_active yes
        dg_cyclic no
        dirtiness_pass_through no
        read_only no
        shading_variable no
        experimental no
        advanced no
        overriden no
        promote_attribute no
        allow_expression yes
        localizable yes
        value "input"
    }
}