Interface: MaterialSubSurface
Simulates light penetration and scattering within translucent materials.
Subsurface scattering creates the realistic appearance of translucent materials where light penetrates the surface and scatters internally before exiting. This effect is essential for organic materials like skin, wax, marble, or certain plastics.
Business value:
- Creates realistic appearance for jade, marble, wax, and certain plastics
- Essential for authentic representation of organic materials
- Distinguishes high-quality materials from basic solid colors
- Significantly enhances visual quality for premium product visualization
Properties
diffusionDistance
diffusionDistance:
string
[]
Distance light can travel inside material per RGB channel. Controls color-dependent scattering behavior.
isActive
isActive:
boolean
When true, activates subsurface scattering effects.
isRefractionEnabled
isRefractionEnabled:
boolean
When true, enables light refraction through the material.
isTranslucencyEnabled
isTranslucencyEnabled:
boolean
When true, enables light diffusion through the material.
linkRefractionWithTransparency
linkRefractionWithTransparency:
boolean
When true, links refraction strength to the material's transparency.
maximumThickness
maximumThickness:
string
Maximum material thickness for light penetration calculations.
minimumThickness
minimumThickness:
string
Minimum material thickness for light penetration calculations.
refractionIntensity
refractionIntensity:
string
Strength of light refraction through the material.
refractionTexture
refractionTexture:
Partial
<MaterialTexture
>
Texture that controls light refraction patterns.
subsurface
subsurface:
string
Overall intensity of the subsurface scattering effect.
texture
texture:
Partial
<MaterialTexture
>
Texture that controls subsurface scattering intensity.
tintColor
tintColor:
string
[]
Color tint applied to scattered light in RGB format.
tintColorAtDistance
tintColorAtDistance:
string
Controls how color changes with viewing distance.
translucencyIntensity
translucencyIntensity:
string
Strength of light diffusion through the material.
useMaskFromThicknessTexture
useMaskFromThicknessTexture:
boolean
When true, uses the thickness texture's alpha channel for masking effects.