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

AmbientOcclusionProps

Property Type Default value Description
halfResolution? boolean undefined Whether it samples at half the canvas’s resolution, a quarter of the cost. Left out, the player’s quality level decides.
intensity? number 2 How dark the contact is.
quality? NonNullable<"high" | "low" | "medium" | "performance" | "ultra" | undefined> undefined The sample count’s preset. Left out, the player’s quality level decides.
radius? number 2 How far, in metres, a surface darkens another.