TextureRaySwitch#
(Ray Switch)
- Category:
/Texture/Utility
- Default object name:
ray_switch
- Inherits from: ProjectItem > TextureOperator > Texture
Description#
Switch texture according to the ray type.
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double[3] |
camera |
VISUAL_HINT_COLOR |
Define the color visible by cameras. |
double[3] |
shadow |
VISUAL_HINT_COLOR |
Define the color visible by shadows. |
double[3] |
gi |
VISUAL_HINT_COLOR |
Define the color visible by global illumination. |
double[3] |
reflection |
VISUAL_HINT_COLOR |
Define the color visible by reflections. |
double[3] |
refraction |
VISUAL_HINT_COLOR |
Define the color visible by refractions. |
double[3] |
sss |
VISUAL_HINT_COLOR |
Define the color visible by sub surface scattering. |
double[3] |
previz |
VISUAL_HINT_COLOR |
Define the color visible in previz mode. |
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 "TextureRaySwitch" "Texture" {
#version 0.9
icon "../icons/object_icons/texture_ray_switch.iconrc"
category "/Texture/Utility"
doc "Switch texture according to the ray type."
attribute_group "input" {
color "camera" {
doc "Define the color visible by cameras."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "shadow" {
doc "Define the color visible by shadows."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "gi" {
doc "Define the color visible by global illumination."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "reflection" {
doc "Define the color visible by reflections."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "refraction" {
doc "Define the color visible by refractions."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "sss" {
doc "Define the color visible by sub surface scattering."
texturable yes
animatable yes
value 0.0 0.0 0.0
}
color "previz" {
doc "Define the color visible in previz mode."
texturable yes
animatable yes
value 0.0 0.0 0.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 "camera"
}
}