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.
Parameters
Section titled “Parameters”number
number
Returns
Section titled “Returns”[number, number, number]