Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

setSubsurface

setSubsurface(material, subsurfaceOptions): void

Gives material the subsurface falloff, or moves the values of the one it has. A copy that took the material’s hook, such as a character’s lit copy, shares its values: a call on either moves both.

Parameter Type
material MeshStandardMaterial
subsurfaceOptions SubsurfaceOptions

void