跳转到内容

octDecode

此内容尚不支持你的语言。

octDecode(u, v): [number, number, number]

Defined in: sdk/src/lightmap/environmentAtlas.ts:48

Octahedral unit square → direction, with +Y at the centre. Values slightly outside [0,1] stay continuous, which is what makes the atlas’ border texels the neighbours a bilinear tap expects.

number

number

[number, number, number]