TextureFresnel#
(Fresnel)
- Category:
/Texture/Utility
- Default object name:
fresnel
- Inherits from: ProjectItem > TextureOperator > Texture
Description#
Return the kr term of a dielectric fresnel
Public Attributes#
Type | Name | Visual Hint | Description |
---|---|---|---|
double[3] |
color |
VISUAL_HINT_COLOR |
Color |
double |
index_of_refraction |
VISUAL_HINT_DEFAULT |
Set the index of refraction. |
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 "TextureFresnel" "Texture" {
#version 0.9
icon "../icons/object_icons/texture_fresnel.iconrc"
category "/Texture/Utility"
doc "Return the kr term of a dielectric fresnel"
attribute_group "input" {
color "color" {
doc "Color"
texturable yes
animatable yes
value 1 1 1
}
double "index_of_refraction" {
doc "Set the index of refraction."
texturable yes
animatable yes
slider yes
numeric_range yes 1e-06 1000000000
ui_range yes 0.001 5
value 1.5
}
}
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 "front"
}
}