Skip to content

impostorEncode

impostorEncode(d): [number, number]

Defined in: sdk/src/render/impostor.ts:32

Where on the unit square a direction of the upper hemisphere folds to. Below the horizon is taken as on it.

Vec3

[number, number]