Skip to content

MaterialPhysicalBlend

MaterialPhysicalBlend#

(Blend)

Go to User page.

Description#

Blend two physical materials

Public Attributes#

Type Name Visual Hint Description
reference (MaterialPhysical) input1 VISUAL_HINT_DEFAULT Material of this layer
reference (MaterialPhysical) input2 VISUAL_HINT_DEFAULT Material of this layer
double mix VISUAL_HINT_PERCENTAGE Define the weight of the layers. (First material use this value and the second 1 - value.)

Inherited Public Attributes#

Type Name Visual Hint Description
bool export_aovs VISUAL_HINT_DEFAULT Compute and write Aovs defined in the shading graph
reference (AovStore) arbitrary_output_variables VISUAL_HINT_DEFAULT Set the list of extra channels to write to the image.
string light_path_expression_label VISUAL_HINT_DEFAULT Set the material label in light path expressions.
long material_sample_count VISUAL_HINT_SAMPLE_PER_PIXEL Material sample count per pixel.
double diffuse_sampling_multiplier VISUAL_HINT_SCALE Material diffuse sample count multiplier.
double glossy_reflection_sampling_multiplier VISUAL_HINT_SCALE Material glossy reflection sample count multiplier.
double glossy_transmission_sampling_multiplier VISUAL_HINT_SCALE Material glossy transmission sample count multiplier.
double subsurface_sampling_multiplier VISUAL_HINT_SCALE Material subsurface sample count multiplier.
double volume_sampling_multiplier VISUAL_HINT_SCALE Material volume sample count multiplier.
double russian_roulette VISUAL_HINT_PERCENTAGE Amount of Russian roulette used on the material samples.
double roughness_noise_optimization VISUAL_HINT_PERCENTAGE Noise reduction strategy along rough light path.
long diffuse_depth VISUAL_HINT_DEFAULT Maximum diffuse depth.
long specular_reflection_depth VISUAL_HINT_DEFAULT Maximum specular reflection depth.
long glossy_reflection_depth VISUAL_HINT_DEFAULT Maximum glossy reflection depth.
long specular_transmission_depth VISUAL_HINT_DEFAULT Maximum specular transmission depth.
long glossy_transmission_depth VISUAL_HINT_DEFAULT Maximum glossy transmission depth.
double[3] opacity VISUAL_HINT_COLOR Opacity of the material.
long normal_mode VISUAL_HINT_DEFAULT Define which geometric normal to use for the shading.
double normal_input VISUAL_HINT_PERCENTAGE Override the shading normal by the one given as input. The value controls the blending with the original normal.
long sidedness VISUAL_HINT_DEFAULT Sidedness of this surface used for this material. 'Single' keeps the original normals no matter what. 'Double' may flip the normal to be oriented toward the incomming direction. 'Invert' flips the original normal no matter what.
long shadow_casting_mode VISUAL_HINT_DEFAULT Defines the properties of the material when casting shadows: fully opaque (regardless of the actual value of the opacity of the material), artistic (user-defined opacity and coloring), pseudo-caustics (cheaply emulating actual refractive caustics) or physical (intrinsic transparency of the material), where the last three are modulated by the opacity of the material.
double shadow_opacity VISUAL_HINT_PERCENTAGE Defines how dark the shadows cast by this material are.
double shadow_coloring VISUAL_HINT_PERCENTAGE Defines how much refraction and absorption colors affect shadowing.
long reflective_caustics VISUAL_HINT_DEFAULT Reflective caustics computation mode.
long refractive_caustics VISUAL_HINT_DEFAULT Refractive caustics computation mode.

CID#

class "MaterialPhysicalBlend" "MaterialPhysical" {
    #version 0.91
    icon "material_blend.iconrc"
    doc "Blend two physical materials"
    attribute_group "materials" {
        reference "input1" {
            doc "Material of this layer"
            filter "MaterialPhysical"
            value ""
        }
        reference "input2" {
            doc "Material of this layer"
            filter "MaterialPhysical"
            value ""
        }
        percentage "mix" {
            doc "Define the weight of the layers. (First material use this value and the second 1 - value.)"
            texturable yes
            animatable yes
            slider yes
            numeric_range yes 0.0 10
            ui_range yes 0.0 1
            value 0.5
        }
    }
    attribute_group "transparent_shadows" {
        collapsed yes
    }
    set "multiple_scattering_strength" {
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range yes 0.0 1
        ui_range yes 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 1
    }
    set "volume_depth" {
        null_label "Use Renderer Settings"
        null_value "-1"
        private no
        hidden yes
        saveable yes
        texturable no
        animatable no
        slider no
        numeric_range yes 0.0 65536
        ui_range yes 0.0 16
        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 -1
    }
}