MaterialPhysicalLayered#
(Layered)
- Category:
/Material/Physical
- Default object name:
layered
- Inherits from: ProjectItem > Material > MaterialPhysical
Description#
Use several layer to make a new materials.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
bool |
enable_base |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
base |
VISUAL_HINT_DEFAULT |
Material of the base |
double |
weight_base |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
bool |
enable_layer_1 |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
layer_1 |
VISUAL_HINT_DEFAULT |
Material of this layer |
double |
weight_1 |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
double |
fresnel_ior_1 |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
double[3] |
tint_1 |
VISUAL_HINT_COLOR |
Tint of the layer. Values under 1 absorb light coming from the underlying layer. |
double |
absorption_1 |
VISUAL_HINT_PERCENTAGE |
Controls how much light is absorbed by the underlying layer. |
double |
incidence_1 |
VISUAL_HINT_PERCENTAGE |
Controls at which rate the absorption of the incoming light is affected by its incidence. |
bool |
enable_layer_2 |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
layer_2 |
VISUAL_HINT_DEFAULT |
Material of this layer |
double |
weight_2 |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
double |
fresnel_ior_2 |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
double[3] |
tint_2 |
VISUAL_HINT_COLOR |
Tint of the layer. Values under 1 absorb light coming from the underlying layer. |
double |
absorption_2 |
VISUAL_HINT_PERCENTAGE |
Controls how much light is absorbed by the underlying layer. |
double |
incidence_2 |
VISUAL_HINT_PERCENTAGE |
Controls at which rate the absorption of the incoming light is affected by its incidence. |
bool |
enable_layer_3 |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
layer_3 |
VISUAL_HINT_DEFAULT |
Material of this layer |
double |
weight_3 |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
double |
fresnel_ior_3 |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
double[3] |
tint_3 |
VISUAL_HINT_COLOR |
Tint of the layer. Values under 1 absorb light coming from the underlying layer. |
double |
absorption_3 |
VISUAL_HINT_PERCENTAGE |
Controls how much light is absorbed by the underlying layer. |
double |
incidence_3 |
VISUAL_HINT_PERCENTAGE |
Controls at which rate the absorption of the incoming light is affected by its incidence. |
bool |
enable_layer_4 |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
layer_4 |
VISUAL_HINT_DEFAULT |
Material of this layer |
double |
weight_4 |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
double |
fresnel_ior_4 |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
double[3] |
tint_4 |
VISUAL_HINT_COLOR |
Tint of the layer. Values under 1 absorb light coming from the underlying layer. |
double |
absorption_4 |
VISUAL_HINT_PERCENTAGE |
Controls how much light is absorbed by the underlying layer. |
double |
incidence_4 |
VISUAL_HINT_PERCENTAGE |
Controls at which rate the absorption of the incoming light is affected by its incidence. |
bool |
enable_layer_5 |
VISUAL_HINT_DEFAULT |
Enables/disables this layer. |
reference (MaterialPhysical ) |
layer_5 |
VISUAL_HINT_DEFAULT |
Material of this layer |
double |
weight_5 |
VISUAL_HINT_PERCENTAGE |
Weight of this layer. |
double |
fresnel_ior_5 |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
double[3] |
tint_5 |
VISUAL_HINT_COLOR |
Tint of the layer. Values under 1 absorb light coming from the underlying layer. |
double |
absorption_5 |
VISUAL_HINT_PERCENTAGE |
Controls how much light is absorbed by the underlying layer. |
double |
incidence_5 |
VISUAL_HINT_PERCENTAGE |
Controls at which rate the absorption of the incoming light is affected by its incidence. |
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 "MaterialPhysicalLayered" "MaterialPhysical" {
#version 0.91
icon "material_layered.iconrc"
doc "Use several layer to make a new materials."
attribute_group "base layer" {
bool "enable_base" {
doc "Enables/disables this layer."
value yes
}
reference "base" {
doc "Material of the base"
filter "MaterialPhysical"
value ""
}
percentage "weight_base" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
}
attribute_group "layer_1" {
bool "enable_layer_1" {
doc "Enables/disables this layer."
value yes
}
reference "layer_1" {
doc "Material of this layer"
filter "MaterialPhysical"
value ""
}
percentage "weight_1" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
double "fresnel_ior_1" {
doc "Set the index of refraction."
null_label "Disable fresnel"
null_value "0"
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000000000
ui_range yes 0.001 5
value 0.0
}
color "tint_1" {
doc "Tint of the layer. Values under 1 absorb light coming from the underlying layer."
texturable yes
animatable yes
value 1 1 1
}
percentage "absorption_1" {
doc "Controls how much light is absorbed by the underlying layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.25
}
percentage "incidence_1" {
doc "Controls at which rate the absorption of the incoming light is affected by its incidence."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.0
}
}
attribute_group "layer_2" {
collapsed yes
bool "enable_layer_2" {
doc "Enables/disables this layer."
value yes
}
reference "layer_2" {
doc "Material of this layer"
filter "MaterialPhysical"
value ""
}
percentage "weight_2" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
double "fresnel_ior_2" {
doc "Set the index of refraction."
null_label "Disable fresnel"
null_value "0"
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000000000
ui_range yes 0.001 5
value 0.0
}
color "tint_2" {
doc "Tint of the layer. Values under 1 absorb light coming from the underlying layer."
texturable yes
animatable yes
value 1 1 1
}
percentage "absorption_2" {
doc "Controls how much light is absorbed by the underlying layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.25
}
percentage "incidence_2" {
doc "Controls at which rate the absorption of the incoming light is affected by its incidence."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.0
}
}
attribute_group "layer_3" {
collapsed yes
bool "enable_layer_3" {
doc "Enables/disables this layer."
value yes
}
reference "layer_3" {
doc "Material of this layer"
filter "MaterialPhysical"
value ""
}
percentage "weight_3" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
double "fresnel_ior_3" {
doc "Set the index of refraction."
null_label "Disable fresnel"
null_value "0"
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000000000
ui_range yes 0.001 5
value 0.0
}
color "tint_3" {
doc "Tint of the layer. Values under 1 absorb light coming from the underlying layer."
texturable yes
animatable yes
value 1 1 1
}
percentage "absorption_3" {
doc "Controls how much light is absorbed by the underlying layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.25
}
percentage "incidence_3" {
doc "Controls at which rate the absorption of the incoming light is affected by its incidence."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.0
}
}
attribute_group "layer_4" {
collapsed yes
bool "enable_layer_4" {
doc "Enables/disables this layer."
value yes
}
reference "layer_4" {
doc "Material of this layer"
filter "MaterialPhysical"
value ""
}
percentage "weight_4" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
double "fresnel_ior_4" {
doc "Set the index of refraction."
null_label "Disable fresnel"
null_value "0"
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000000000
ui_range yes 0.001 5
value 0.0
}
color "tint_4" {
doc "Tint of the layer. Values under 1 absorb light coming from the underlying layer."
texturable yes
animatable yes
value 1 1 1
}
percentage "absorption_4" {
doc "Controls how much light is absorbed by the underlying layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.25
}
percentage "incidence_4" {
doc "Controls at which rate the absorption of the incoming light is affected by its incidence."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.0
}
}
attribute_group "layer_5" {
collapsed yes
bool "enable_layer_5" {
doc "Enables/disables this layer."
value yes
}
reference "layer_5" {
doc "Material of this layer"
filter "MaterialPhysical"
value ""
}
percentage "weight_5" {
doc "Weight of this layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1
ui_range yes 0.0 1
value 1
}
double "fresnel_ior_5" {
doc "Set the index of refraction."
null_label "Disable fresnel"
null_value "0"
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000000000
ui_range yes 0.001 5
value 0.0
}
color "tint_5" {
doc "Tint of the layer. Values under 1 absorb light coming from the underlying layer."
texturable yes
animatable yes
value 1 1 1
}
percentage "absorption_5" {
doc "Controls how much light is absorbed by the underlying layer."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.25
}
percentage "incidence_5" {
doc "Controls at which rate the absorption of the incoming light is affected by its incidence."
texturable yes
animatable yes
slider yes
numeric_range yes 0.0 1000
ui_range yes 0.0 1
value 0.0
}
}
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
}
}