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

SubsurfaceOptions

A subsurface falloff on a standard material’s direct lights.

Property Type Default value Description
color? ColorRepresentation "#ffffff", every channel alike, as Godot’s Lambert Wrap; a skin sets a red The colour the light turns toward past the terminator: each channel wraps wrap times its linear value, so a red wraps furthest.
mask? Texture<unknown, TextureEventMap> undefined Where the falloff applies, from its red channel, on the material’s map UVs, as Godot’s subsurf_scatter_texture; left out, the whole material. Load it with flipY false and no colour space.
wrap? number 0.5 How far past the terminator a white channel wraps, from 0, a Lambert falloff, to 1, where the light reaches round to the back.