Skip to content

TextureRemap

TextureRemap#

(Remap)

Go to User page.

Description#

Apply a remapping curve to each channel of the input color.

Public Attributes#

Type Name Visual Hint Description
double[4] input VISUAL_HINT_RGBA Define the input.
curve[4] output VISUAL_HINT_DEFAULT The remapping curves applied to the input color.

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 "TextureRemap" "Texture" {
    #version 0.9
    icon "../icons/object_icons/texture_remap.iconrc"
    category "/Texture/Utility"
    doc "Apply a remapping curve to each channel of the input color."
    attribute_group "input" {
        rgba "input" {
            doc "Define the input."
            texturable yes
            animatable yes
            value 0.0 0.0 0.0 0.0
        }
    }
    attribute_group "remap" {
        curve[4] "output" {
            doc "The remapping curves applied to the input color."
            value[] {
                key 0 0.0 0.0 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
                key 0 1 1 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
            }
            value[1] {
                key 0 0.0 0.0 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
                key 0 1 1 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
            }
            value[2] {
                key 0 0.0 0.0 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
                key 0 1 1 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
            }
            value[3] {
                key 0 0.0 0.0 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
                key 0 1 1 0.0 0.0 0.0 -0.3333 0.0 0.3333 0.0 yes yes no yes
            }
        }
    }
    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"
    }
}