API

Interface SubSurfaceProps

Subsurface configuration. Nested sub-features — presence = enabled.

interface SubSurfaceProps {
    refraction?: RefractionProps;
    scattering?: ScatteringProps;
    thickness?: ThicknessProps;
    tint?: TintProps;
    translucency?: TranslucencyProps;
}
Index
refraction?: RefractionProps

Refraction: physical light transmission through the surface (KHR_materials_transmission + _volume + _ior). Presence enables it. Requires the frame graph to produce a transmission refraction texture.

scattering?: ScatteringProps

Scattering: screen-space subsurface scattering (PrePass). Reserved — not yet implemented.

thickness?: ThicknessProps

Thickness: per-texel thickness for transmittance.

tint?: TintProps

Tint: absorption tint color for transmittance.

translucency?: TranslucencyProps

Translucency: light passing through thin surfaces.